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)
+
CC = gcc
OPTFLAGS = -O3
-I$(XINCLUDE) \
-I$(TCLHOME) \
-I$(TCLXHOME)/src \
- -I$(TKHOME)
+ -I$(TKHOME) \
+ $(SDLINCLUDE)
CPPFLAGS = $(INCLUDES)
-lm \
-lX11 \
-lXext \
- -lXpm
+ -lXpm \
+ $(SDLLIBS)
SRCS = \
sim.c \