mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 13:29:27 +01:00
Makefile should use var defined at top of file
This commit is contained in:
parent
7c624f9a38
commit
342a84ba3f
6
Makefile
6
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 *
|
||||
|
Loading…
Reference in New Issue
Block a user