CFLAGS= -Wall -I/usr/include/SDL -L/usr/lib/ -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer

.PHONY: all clean cleanobj

all: game

scenetest: sceneTest.c Scene.o Engine.o Timer.o Player.o Room.o WorldData.o Kaos.o HyperKaos.o TextBox.o
	$(CC) -o $@ $^ $(CFLAGS)

game: main.c Player.o Engine.o Timer.o Room.o WorldData.o TextBox.o Kaos.o HyperKaos.o Scene.o Synergy.o
	$(CC) -o $@ $^ $(CFLAGS)

cleanobj:
	rm -f *.o

clean:
	rm -f game *.o