Move forf back into this package

This commit is contained in:
Neale Pickett 2010-07-27 15:36:27 -06:00
parent d41b792eab
commit a27883ffe9
2 changed files with 2 additions and 10 deletions

View File

@ -15,14 +15,6 @@ ctanks.o: ctanks.h
%.html: %.html.m4 %.html: %.html.m4
m4 $< > $@ m4 $< > $@
forf.html: forf/forf.txt
forf.%: forf/forf.%
cp forf/$@ $@
.PRECIOUS: forf/%
forf/%:
git submodule update --init
clean: clean:
rm -f *.o forf.c forf.h next-round round-*.html rm -f *.o next-round round-*.html
rm -f $(BINARIES) $(HTML) rm -f $(BINARIES) $(HTML)

View File

@ -134,7 +134,7 @@ croak(char *msg)
for (i = 0; entries[i].name; i += 1) { for (i = 0; entries[i].name; i += 1) {
snprintf(path, sizeof(path), snprintf(path, sizeof(path),
"%s%05d.%s", BASE_PATH "%s%05d.%s", BASE_PATH,
getpid(), entries[i].name); getpid(), entries[i].name);
unlink(path); unlink(path);
} }