From 342a84ba3ff9d8848fa0886e1b8b587c7cc4202d Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Thu, 28 Dec 2017 13:42:09 +1000 Subject: [PATCH] Makefile should use var defined at top of file --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 36e76fcd..87bd3dd8 100644 --- a/Makefile +++ b/Makefile @@ -31,19 +31,19 @@ windows: cd $(WIN) && zip -r ../oragono-$(VERS)-windows.zip * osx: - GOOS=darwin GOARCH=amd64 go build oragono.go + GOOS=darwin GOARCH=amd64 go build $(SOURCE) $(call add-files,$(OSX)) mv oragono $(OSX) cd $(OSX) && tar -czvf ../oragono-$(VERS)-osx.tgz * linux: - GOOS=linux GOARCH=amd64 go build oragono.go + GOOS=linux GOARCH=amd64 go build $(SOURCE) $(call add-files,$(LINUX)) mv oragono $(LINUX) cd $(LINUX) && tar -czvf ../oragono-$(VERS)-linux.tgz * arm6: - GOARM=6 GOARCH=arm go build oragono.go + GOARM=6 GOARCH=arm go build $(SOURCE) $(call add-files,$(ARM6)) mv oragono $(ARM6) cd $(ARM6) && tar -czvf ../oragono-$(VERS)-arm.tgz *