diff options
| author | Steven Fuller <relnev@icculus.org> | 2002-02-09 19:30:43 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | e681d155d9cbc27bdacc05bd967a249c56e3f1f1 (patch) | |
| tree | a9dd62eae0f354d1522a4f35ad795274e9bb63ba /Makefile | |
| parent | 47d9cc1b2c85ca67375a507d273aae082427b46f (diff) | |
Disable Gold-only weapons for Regular edition (Tim Beckmann)
fixed compiling with -DNDEBUG
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,13 +4,14 @@ CXX = gcc #CXX = gcc-3.0 NASM = nasm -#CFLAGS = -g -Wall -pipe -Dengine=1 -I. -Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/win95/gadgets -CFLAGS = -g -Wall -pipe -O2 -Dengine=1 -I. -Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/win95/gadgets -#CFLAGS = -Wall -pipe -O6 -ffast-math -fomit-frame-pointer -march=pentiumpro -mcpu=pentiumpro -Dengine=1 -I. -Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/win95/gadgets +#CFLAGS = -g -Wall -pipe +CFLAGS = -g -Wall -pipe -O2 +#CFLAGS = -DNDEBUG -Wall -pipe -O6 -ffast-math -fomit-frame-pointer -march=pentiumpro -mcpu=pentiumpro + +CFLAGS += -Dengine=1 -I. -Iinclude -Iwin95 -Iavp -Iavp/win95 -Iavp/support -Iavp/win95/frontend -Iavp/win95/gadgets CXXFLAGS = $(CFLAGS) CFLAGS += $(shell sdl-config --cflags) -#LDLIBS = -L/usr/X11R6/lib -lX11 -lXext -lGL $(shell sdl-config --libs) -lopenal LDLIBS = $(shell sdl-config --libs) -lGL -lopenal # Debian SDL+NVIDIA workaround (change /usr/lib to the real location of the files) |
