mirror of https://github.com/dirtbags/tanks.git
Move forf back into this package
This commit is contained in:
parent
d41b792eab
commit
a27883ffe9
10
Makefile
10
Makefile
|
@ -15,14 +15,6 @@ ctanks.o: ctanks.h
|
|||
%.html: %.html.m4
|
||||
m4 $< > $@
|
||||
|
||||
forf.html: forf/forf.txt
|
||||
|
||||
forf.%: forf/forf.%
|
||||
cp forf/$@ $@
|
||||
.PRECIOUS: forf/%
|
||||
forf/%:
|
||||
git submodule update --init
|
||||
|
||||
clean:
|
||||
rm -f *.o forf.c forf.h next-round round-*.html
|
||||
rm -f *.o next-round round-*.html
|
||||
rm -f $(BINARIES) $(HTML)
|
||||
|
|
|
@ -134,7 +134,7 @@ croak(char *msg)
|
|||
|
||||
for (i = 0; entries[i].name; i += 1) {
|
||||
snprintf(path, sizeof(path),
|
||||
"%s%05d.%s", BASE_PATH
|
||||
"%s%05d.%s", BASE_PATH,
|
||||
getpid(), entries[i].name);
|
||||
unlink(path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue