From ab1b808ef3f6642a1f7b0dff1134deb8b0db436b Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Tue, 6 Nov 2001 21:23:26 +0000 Subject: Debian SDL+NVIDIA workaround --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a853d3..169841b 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,14 @@ NASM = nasm 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 CXXFLAGS = $(CFLAGS) -LDLIBS = -lm CFLAGS += `sdl-config --cflags` -LDLIBS += -L/usr/X11R6/lib -lX11 -lXext -lGL `sdl-config --libs` -lopenal -lm +LDLIBS = -L/usr/X11R6/lib -lX11 -lXext -lGL `sdl-config --libs` -lopenal + +# Debian SDL+NVIDIA workaround (change /usr/lib to the real location of the files) +#LDLIBS = -L/usr/X11R6/lib -lX11 -lXext /usr/lib/libGL.so.1 `sdl-config` --libs -lopenal -lm + +# required for gcc-3.0 #LDLIBS += -lstdc++ AFLAGS = -g -w+macro-params -w+orphan-labels -w+number-overflow -- cgit v1.3