2010-07-19 17:23:30 -06:00
|
|
|
CFLAGS = -Wall
|
2010-07-06 13:53:17 -06:00
|
|
|
|
2010-07-20 15:39:10 -06:00
|
|
|
all: html run-tanks designer.cgi
|
2010-07-22 18:08:55 -06:00
|
|
|
html: forf.html procs.html intro.html
|
2010-06-25 16:15:09 -06:00
|
|
|
|
2010-07-20 15:39:10 -06:00
|
|
|
run-tanks: run-tanks.o ctanks.o forf.o
|
|
|
|
run-tanks: LDFLAGS = -lm
|
2010-06-25 16:15:09 -06:00
|
|
|
|
2010-07-20 15:39:10 -06:00
|
|
|
run-tanks.o: forf.h ctanks.h
|
|
|
|
forf.o: forf.c forf.h
|
|
|
|
ctanks.o: ctanks.h
|
2010-07-06 13:53:17 -06:00
|
|
|
|
2010-07-22 18:08:55 -06:00
|
|
|
%.html: %.html.m4
|
|
|
|
m4 $< > $@
|
|
|
|
|
|
|
|
forf.html: forf/forf.txt
|
2010-07-20 15:39:10 -06:00
|
|
|
|
|
|
|
forf.%: forf/forf.%
|
|
|
|
cp forf/$@ $@
|
2010-07-20 20:35:24 -06:00
|
|
|
.PRECIOUS: forf/%
|
2010-07-20 15:39:10 -06:00
|
|
|
forf/%:
|
|
|
|
git submodule update --init
|
2010-07-14 15:21:20 -06:00
|
|
|
|
2010-07-06 13:53:17 -06:00
|
|
|
clean:
|
2010-07-20 15:39:10 -06:00
|
|
|
rm -f run-tanks designer.cgi *.o forf.c forf.h
|
|
|
|
rm -f next-round round-*.html summary.html forf.html
|