]> git.zerfleddert.de Git - micropolis/blobdiff - src/sim/makefile
add ugly sdl_helper to automagically find and enable SDL_mixer
[micropolis] / src / sim / makefile
index 85c2286d0748339178e7d8bdcaa547b614647708..5a8a62268db0734033630bba3fc40327a10798a4 100644 (file)
@@ -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 = $$(./sdl_helper cflags)
+SDLLIBS = $$(./sdl_helper libs)
 
 CC = gcc
 
Impressum, Datenschutz