summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r--cmd/rescribe/makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index 32620f2..aee2114 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -1,15 +1,19 @@
# See LICENSE file for copyright and license details.
-all: rescribe-osx rescribe-osx-m1 rescribe.exe rescribe
+all: dist/linux/rescribe dist/darwin_amd64/rescribe dist/darwin_arm64/rescribe dist/windows/rescribe.exe
-rescribe:
+dist/linux/rescribe:
+ mkdir -p dist/linux
GOOS=linux GOARCH=amd64 go build -o $@ .
-rescribe-osx:
+dist/darwin_amd64/rescribe:
+ mkdir -p dist/darwin_amd64
GOOS=darwin GOARCH=amd64 go build -o $@ .
-rescribe-osx-m1:
+dist/darwin_arm64/rescribe:
+ mkdir -p dist/darwin_arm64
GOOS=darwin GOARCH=arm64 go build -o $@ .
-rescribe.exe:
+dist/windows/rescribe.exe:
+ mkdir -p dist/windows
GOOS=windows GOARCH=386 go build -o $@ .