Added command line options and unicode. Changed audio init.
[cantaveria.git] / Makefile
blobf76e9d2379b0f5c81fc9c0952457bcd56468d8bc
1 PROJECT = cantaveria
2 CFLAGS = -std=c99 -Wall -g -O2
3 OBJ = main.o util.o backend.o loader.o game.o title.o intro.o sound.o
4 CC = gcc
5 LIBS = -lSDL -lGL -lzzip
7 $(PROJECT): $(OBJ)
8 $(CC) -o $(PROJECT) $(LIBS) $(OBJ)
12 game.o: game.h intro.h
13 title.o: game.h backend.h title.h
14 intro.o: game.h backend.h intro.h title.h
15 util.o: util.h
16 main.o: game.h backend.h intro.h loader.h util.h
17 backend.o: game.h backend.h util.h loader.h sound.h
18 loader.o: loader.h util.h
19 sound.o: sound.h
22 clean:
23 rm $(PROJECT) $(OBJ)