X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/b622c9f7c3308b813c0617c84b1750202a6832d4..41b487e3e23e7e91bf518827a2523b8ec50a1f30:/src/sim/makefile?ds=sidebyside diff --git a/src/sim/makefile b/src/sim/makefile index 8f4ad9b..7e4dd05 100644 --- a/src/sim/makefile +++ b/src/sim/makefile @@ -5,11 +5,8 @@ TCLXHOME = ../tclx TCLLIBRARY = /usr/local/lib/tcl TKLIBRARY = /usr/local/lib/tk -SDLINCLUDE = -SDLLIBS = -lSDL -lSDL_mixer - -#SDLINCLUDE += $$(pkg-config --cflags sdl) -#SDLLIBS += $$(pkg-config --libs sdl) +SDLINCLUDE = $$(/bin/sh ./sdl_helper cflags) +SDLLIBS = $$(/bin/sh ./sdl_helper libs) CC = gcc @@ -19,7 +16,7 @@ OPTFLAGS = -O3 #DEFINES = -DIS_LINUX -DCAM -DNET DEFINES = -DIS_LINUX -DNO_AIRCRASH -CFLAGS = $(OPTFLAGS) $(DEFINES) +CFLAGS += $(OPTFLAGS) $(DEFINES) #LDFLAGS = -Bstatic LDFLAGS=-L/usr/X11/lib -L/usr/X11R6/lib