Merge branch 'io'
[cantaveria.git] / Makefile
blob955e8f7c7db42ba9f2254fc9d0b2ca2461175fc3
1 PROJECT = cantaveria
2 CFLAGS = -I. -g -O2 -Wall -Wextra -Wno-unused-parameter
3 OBJ = video.o audio.o input.o kernel.o \
4 loader.o graphics.o sfx.o text.o console.o \
5 intro.o title.o splash.o iotest.o \
6 synth.o seq.o dsp.o \
7 rng.o util.o zip.o list.o
9 CC = gcc
10 LIBS = -lSDL -lGL -lm -lz
12 $(PROJECT): main.o $(OBJ) data.zip
13 $(CC) -o $(PROJECT) $(LIBS) main.o $(OBJ)
16 data.zip:
17 wget http://evanr.infinitymotel.net/cantaveria/data.zip
19 clean:
20 $(RM) $(PROJECT) levedit main.o $(OBJ)