aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 906b4bc..3956af1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
-linux-amd64: build/linux-amd64
-windows-amd64: build/windows-amd64.exe
+SRC = $(wildcard *.go)
-build/linux-amd64: $(SRC)
+linux-amd64: build/tarpit-linux-amd64
+
+windows-amd64: build/tarpit-windows-amd64.exe
+
+build/tarpit-linux-amd64: $(SRC)
GOOS=linux GOARCH=amd64 go build -o "$@"
-build/windows-amd64.exe: $(SRC)
+build/tarpit-windows-amd64.exe: $(SRC)
GOOS=windows GOARCH=amd64 go build -o "$@"