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 *.o
forftanks forftanks
tanksd
rounds rounds
tanks tanks

View File

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