blob: 1cd508ec04b4c20f6698adbcc541c57b3ec2b80e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $Header$
CC = CC
CFLAGS = -O2 -Olimit 9000 -mips2
#CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
# Remove -DHAVE_NO_BOOL if your compiler has a builtin bool type
DEFINES = -DUNIX -DHAVE_NO_BOOL -DCOMPRESSED_SOUND_FILE
LDFLAGS :=
INCLUDES:= `sdl-config --cflags` -I./ -I./sound
CPPFLAGS= $(DEFINES) $(INCLUDES)
# Add -lmad for -DCOMPRESSED_SOUND_FILE
LIBS = `sdl-config --libs` -lmad -lm
OBJS = sdl.o
include Makefile.common
dist:
rm -f $(ZIPFILE)
zip -q $(ZIPFILE) $(DISTFILES)
|