14 lines
283 B
Makefile
14 lines
283 B
Makefile
|
CFLAGS= -Wall -I/usr/include/SDL -L/usr/lib/ -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer
|
||
|
|
||
|
.PHONY: all clean cleanobj
|
||
|
|
||
|
all: game
|
||
|
|
||
|
game: main.c Player.o Engine.o Timer.o Room.o WorldData.o TextBox.o Kaos.o HyperKaos.o
|
||
|
$(CC) -o $@ $^ $(CFLAGS)
|
||
|
|
||
|
cleanobj:
|
||
|
rm -f *.o
|
||
|
|
||
|
clean:
|
||
|
rm -f game *.o
|