tb1/Makefile

65 lines
1.4 KiB
Makefile
Raw Normal View History

1998-03-07 20:37:00 +00:00
2000-09-16 23:23:00 +00:00
INCLUDE= -O2 -Wall -I/usr/local/include/SDL -I/usr/local/include
2000-09-05 03:57:00 +00:00
LIBS= -lSDL -lSDL_mixer -L/usr/X11R6/lib -lX11 -lpthread
1998-03-07 20:37:00 +00:00
2000-09-05 03:57:00 +00:00
all: tb1
1998-03-07 20:37:00 +00:00
2000-09-17 05:47:00 +00:00
tb1: tb1.o ./svmwgraph/libsvmwgraph.a about.o credits.o graphic_tools.o help.o hiscore.o level_1.o level_2.o loadsave.o options.o playgame.o quit.o sidebar.o sound.o story.o tblib.o
gcc -o tb1 tb1.o about.o credits.o graphic_tools.o help.o hiscore.o level_1.o level_2.o loadsave.o options.o playgame.o quit.o sidebar.o sound.o story.o tblib.o ./svmwgraph/libsvmwgraph.a $(LIBS)
./svmwgraph/libsvmwgraph.a:
cd svmwgraph && make
2000-09-16 23:23:00 +00:00
1998-03-07 20:37:00 +00:00
tb1.o: tb1.c
2000-09-05 03:57:00 +00:00
gcc -c tb1.c $(INCLUDE)
1998-03-07 20:37:00 +00:00
2000-09-16 23:23:00 +00:00
about.o: about.c
gcc -c about.c $(INCLUDE)
credits.o: credits.c
gcc -c credits.c $(INCLUDE)
1998-03-07 20:37:00 +00:00
2000-09-17 05:47:00 +00:00
graphic_tools.o: graphic_tools.c
gcc -c graphic_tools.c $(INCLUDE)
2000-09-16 23:23:00 +00:00
help.o: help.c
gcc -c help.c $(INCLUDE)
1998-03-07 20:37:00 +00:00
2000-09-16 23:23:00 +00:00
hiscore.o: hiscore.c
gcc -c hiscore.c $(INCLUDE)
2000-09-05 03:57:00 +00:00
level_1.o: level_1.c
gcc -c level_1.c $(INCLUDE)
2000-09-16 04:49:00 +00:00
level_2.o: level_2.c
gcc -c level_2.c $(INCLUDE)
2000-09-16 23:23:00 +00:00
2000-09-17 05:47:00 +00:00
loadsave.o: loadsave.c
gcc -c loadsave.c $(INCLUDE)
2000-09-16 23:23:00 +00:00
options.o: options.c
gcc -c options.c $(INCLUDE)
playgame.o: playgame.c
gcc -c playgame.c $(INCLUDE)
quit.o: quit.c
gcc -c quit.c $(INCLUDE)
sidebar.o: sidebar.c
gcc -c sidebar.c $(INCLUDE)
2000-09-05 03:57:00 +00:00
sound.o: sound.c
gcc -c sound.c $(INCLUDE)
2000-09-16 23:23:00 +00:00
story.o: story.c
gcc -c story.c $(INCLUDE)
tblib.o: tblib.c
gcc -c tblib.c $(INCLUDE)
2000-09-05 03:57:00 +00:00
clean:
rm tb1 *.o *~
2000-09-17 05:47:00 +00:00
cd svmwgraph && make clean