mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Added make-controlled version, gitCommit (thanks to https://preslav.me/2019/07/09/adding-version-information-to-go-binaries/
This commit is contained in:
parent
2087aab2d5
commit
06854f7a03
7 changed files with 31 additions and 15 deletions
|
@ -4,7 +4,7 @@ EXTPKGS = bytes,errors,flag,fmt,internal,io,log,net,os,path,runtime,time,strings
|
|||
EXE = $(notdir $(shell pwd))
|
||||
|
||||
all:
|
||||
go build .
|
||||
go build $(BUILDOPTS) .
|
||||
|
||||
clean:
|
||||
$(RM) $(EXE) $(EXE).exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue