From e681d155d9cbc27bdacc05bd967a249c56e3f1f1 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 9 Feb 2002 19:30:43 +0000 Subject: Disable Gold-only weapons for Regular edition (Tim Beckmann) fixed compiling with -DNDEBUG --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f45b630..1f3dbc7 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.3