2007-06-28 10:47:08 -07:00
|
|
|
SRC_FILES= anim.c \
|
|
|
|
animobj.c \
|
2005-12-02 05:22:19 -08:00
|
|
|
audp_parser.c \
|
|
|
|
audp_lexer.c \
|
2007-06-28 10:47:08 -07:00
|
|
|
gtime.c \
|
|
|
|
hashtabl.c \
|
|
|
|
pqueue.c \
|
|
|
|
ptrlist.c
|
|
|
|
|
|
|
|
LIBS=framework ivis_common sound
|
|
|
|
|
|
|
|
ifeq ($(GFX), software)
|
|
|
|
LIBS+=ivis02
|
|
|
|
else
|
|
|
|
LIBS+=ivis_opengl
|
|
|
|
endif
|
|
|
|
|
2005-12-05 08:47:41 -08:00
|
|
|
GENERATED_SRC= audp_lexer.c \
|
|
|
|
audp_parser.c \
|
|
|
|
audp_parser.h
|
2005-12-02 05:22:19 -08:00
|
|
|
|
2007-06-28 10:47:08 -07:00
|
|
|
LIB=gamelib
|
|
|
|
|
|
|
|
MAKERULES=../../makerules
|
|
|
|
include $(MAKERULES)/lib.mk
|
|
|
|
|
2005-12-02 05:22:19 -08:00
|
|
|
audp_lexer.c: audp_lexer.l
|
|
|
|
flex $(<)
|
|
|
|
mv lex.audp_.c $@
|
|
|
|
|
|
|
|
audp_parser.c audp_parser.h: audp_parser.y
|
2005-12-05 08:47:41 -08:00
|
|
|
bison -d audp_parser.y
|
2005-12-02 05:22:19 -08:00
|
|
|
mv audp_parser.tab.c audp_parser.c
|
|
|
|
mv audp_parser.tab.h audp_parser.h
|
|
|
|
|