midi.c has better error checking and better error messages.
[cantaveria.git] / Makefile
bloba52c48886df201addda15bec506bd5def4993519
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 music.o \
5 intro.o title.o splash.o soundtest.o \
6 synth.o seq.o dsp.o org.o midi.o \
7 rng.o util.o list.o zip.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)