2002-04-26 13:39:31 +00:00
|
|
|
# $Header$
|
|
|
|
|
2002-04-20 04:09:02 +00:00
|
|
|
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
|
|
|
|
|
2002-04-26 13:39:31 +00:00
|
|
|
OBJS = sdl.o
|
2002-04-20 04:09:02 +00:00
|
|
|
|
2002-04-26 13:39:31 +00:00
|
|
|
include Makefile.common
|
2002-04-27 11:06:27 +00:00
|
|
|
|
|
|
|
dist:
|
|
|
|
rm -f $(ZIPFILE)
|
|
|
|
zip -q $(ZIPFILE) $(DISTFILES)
|