aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a831cb3..5f33e91 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
GO = go
SCDOC = scdoc
+LDFLAGS = "-s -w"
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
@@ -22,3 +23,9 @@ test: fmt
./test/integ-test/integ_test.py
.PHONY: all clean docs
+
+binaries: linux windows
+linux:
+ GOOS=linux ${GO} build -o bin/shoelaces -ldflags ${LDFLAGS}
+windows:
+ GOOS=windows ${GO} build -o bin/shoelaces.exe -ldflags ${LDFLAGS}
nihil fit ex nihilo