This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
rn/makefile
2024-07-28 19:20:01 +02:00

13 lines
243 B
Makefile

GCFLAGS := -gcflags="all=-l -B"
LDFLAGS := -ldflags="-X 'main.Commit=$(COMMIT)' -s -w"
ALLFLAGS := $(GCFLAGS) $(LDFLAGS)
default:
@go build -v $(ALLFLAGS) .
upx:
@upx --lzma ./distribusi
release:
@goreleaser release --snapshot --clean