tb1/Makefile

77 lines
1.5 KiB
Makefile
Raw Normal View History

2000-10-27 22:09:00 -04:00
include Makefile.inc
1998-03-07 15:37:00 -05:00
2004-09-29 00:52:00 -04:00
INCLUDE= $(INCLUDE_GLOBAL) -g
2000-10-27 22:09:00 -04:00
LIBS= $(LIBS_GLOBAL)
1998-03-07 15:37:00 -05:00
2000-09-04 23:57:00 -04:00
all: tb1
1998-03-07 15:37:00 -05:00
2001-10-29 01:18:00 -05:00
tb1: tb1.o ./svmwgraph/libsvmwgraph.a about.o credits.o graphic_tools.o \
help.o hiscore.o level_1.o level2_engine.o level_3.o \
loadsave.o options.o playgame.o quit.o sidebar.o sound.o\
story.o tblib.o
$(CC) -o tb1 tb1.o about.o credits.o graphic_tools.o help.o hiscore.o\
level_1.o level2_engine.o level_3.o loadsave.o options.o\
playgame.o quit.o sidebar.o sound.o story.o tblib.o\
./svmwgraph/libsvmwgraph.a $(LIBS)
2000-09-17 01:47:00 -04:00
./svmwgraph/libsvmwgraph.a:
cd svmwgraph && make
2000-09-16 19:23:00 -04:00
1998-03-07 15:37:00 -05:00
tb1.o: tb1.c
2000-10-27 22:09:00 -04:00
$(CC) -c tb1.c $(INCLUDE)
1998-03-07 15:37:00 -05:00
2000-09-16 19:23:00 -04:00
about.o: about.c
2000-10-27 22:09:00 -04:00
$(CC) -c about.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
credits.o: credits.c
2000-10-27 22:09:00 -04:00
$(CC) -c credits.c $(INCLUDE)
1998-03-07 15:37:00 -05:00
2000-09-17 01:47:00 -04:00
graphic_tools.o: graphic_tools.c
2000-10-27 22:09:00 -04:00
$(CC) -c graphic_tools.c $(INCLUDE)
2000-09-17 01:47:00 -04:00
2000-09-16 19:23:00 -04:00
help.o: help.c
2000-10-27 22:09:00 -04:00
$(CC) -c help.c $(INCLUDE)
1998-03-07 15:37:00 -05:00
2000-09-16 19:23:00 -04:00
hiscore.o: hiscore.c
2000-10-27 22:09:00 -04:00
$(CC) -c hiscore.c $(INCLUDE)
2000-09-04 23:57:00 -04:00
level_1.o: level_1.c
2000-10-27 22:09:00 -04:00
$(CC) -c level_1.c $(INCLUDE)
2001-10-29 01:18:00 -05:00
level2_engine.o: level2_engine.c
$(CC) -c level2_engine.c $(INCLUDE)
#level_2.o: level_2.c
# $(CC) -c level_2.c $(INCLUDE)
2000-10-27 22:09:00 -04:00
level_3.o: level_3.c
$(CC) -c level_3.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
2000-09-17 01:47:00 -04:00
loadsave.o: loadsave.c
2000-10-27 22:09:00 -04:00
$(CC) -c loadsave.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
options.o: options.c
2000-10-27 22:09:00 -04:00
$(CC) -c options.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
playgame.o: playgame.c
2000-10-27 22:09:00 -04:00
$(CC) -c playgame.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
quit.o: quit.c
2000-10-27 22:09:00 -04:00
$(CC) -c quit.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
sidebar.o: sidebar.c
2000-10-27 22:09:00 -04:00
$(CC) -c sidebar.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
2000-09-04 23:57:00 -04:00
sound.o: sound.c
2000-10-27 22:09:00 -04:00
$(CC) -c sound.c $(INCLUDE) $(SDL_MIXER_FLAGS)
2000-09-04 23:57:00 -04:00
2000-09-16 19:23:00 -04:00
story.o: story.c
2000-10-27 22:09:00 -04:00
$(CC) -c story.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
tblib.o: tblib.c
2000-10-27 22:09:00 -04:00
$(CC) -c tblib.c $(INCLUDE)
2000-09-16 19:23:00 -04:00
2000-09-04 23:57:00 -04:00
clean:
2000-10-27 22:09:00 -04:00
rm -f tb1 *.o *~
2000-09-17 01:47:00 -04:00
cd svmwgraph && make clean