Better error handling in zip.c
[cantaveria.git] / Makefile
blobffb003330ecbff8770f92c55fdac17e998052c27
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
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)