* Move GetTickCount() hacks to porting.h and replace by a real call to SDL_GetTicks().
[matthijs/ABM2.git] / ABM2 / Makefile
index a20f0604a6b34e9b2ecc165aee3678d31fc4dec8..9f5c3b705bdf02a4026359bc036b42b1d9901f1f 100644 (file)
@@ -1,7 +1,11 @@
-CFLAGS:=-I.
-OBJS:=main.o Engine/Log.o
+CFLAGS  := -I. -DWITH_SDL
+LDFLAGS := -lSDL
+OBJS:=main.o Engine/Log.o SchemeReader.o Engine/Settings.o Engine/mmanager.o Engine/Kernel.o Engine/ProfileLogHandler.o Engine/VideoUpdate.o Engine/GlobalTimer.o Engine/SoundTask.o Engine/profiler.o Playground.o Engine/InputTask.o
 
-all: $(OBJS)
+all: abm2
+
+abm2: $(OBJS)
+       g++ $(LDFLAGS) -o abm2 $(OBJS)
 
 %.o: %.cpp
        g++ $(CFLAGS) -c $< -o $@