katbug/Makefile

17 lines
265 B
Makefile
Raw Normal View History

2019-02-04 21:24:24 +00:00
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