17 lines
265 B
Makefile
17 lines
265 B
Makefile
|
CFLAGS= -Wall -I/usr/include/SDL -L/usr/lib/ -lSDL -lSDL_image -lSDL_ttf
|
||
|
|
||
|
.PHONY: all clean cleanobj
|
||
|
|
||
|
all: game
|
||
|
|
||
|
game: main.c Catbug.o Engine.o Timer.o Pickups.o
|
||
|
$(CC) -o katbug $^ $(CFLAGS)
|
||
|
|
||
|
cleanobj:
|
||
|
rm -f *.o
|
||
|
|
||
|
clean:
|
||
|
rm -f katbug *.o
|
||
|
|
||
|
reconfigure: clean game
|