Update makefile

This commit is contained in:
Neale Pickett 2024-11-26 15:37:30 -07:00
parent 0b62a1ca25
commit 4441520048
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -3,5 +3,7 @@
*.o
forftanks
tanksd
rounds
tanks

View File

@ -1,7 +1,7 @@
DESTDIR ?= $(HOME)
CFLAGS = -Wall
BINARIES = forftanks upload.cgi
BINARIES = forftanks tanksd
all: $(BINARIES)
@ -16,6 +16,9 @@ forftanks.o: forf.h ctanks.h
forf.o: forf.c forf.h
ctanks.o: ctanks.h
tanksd: tanksd.go
go build $<
clean:
rm -f *.o next-round round-*.html
rm -f $(BINARIES)