summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-08-18 22:37:40 +0100
committerNick White <git@njw.name>2021-08-18 22:37:40 +0100
commitbde651bbde9df3a8c33b705dbe33bbcaf4e3e73d (patch)
tree758e90523a801d2a715d3bfcffe55c33872eef7e /cmd/rescribe/makefile
parent767b60db23311adaf1035e821bc189877d63b7f0 (diff)
rescribe: Update documentation on how to deal with M1 signing, and move makefile to where it makes sense
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r--cmd/rescribe/makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
new file mode 100644
index 0000000..32620f2
--- /dev/null
+++ b/cmd/rescribe/makefile
@@ -0,0 +1,15 @@
+# See LICENSE file for copyright and license details.
+
+all: rescribe-osx rescribe-osx-m1 rescribe.exe rescribe
+
+rescribe:
+ GOOS=linux GOARCH=amd64 go build -o $@ .
+
+rescribe-osx:
+ GOOS=darwin GOARCH=amd64 go build -o $@ .
+
+rescribe-osx-m1:
+ GOOS=darwin GOARCH=arm64 go build -o $@ .
+
+rescribe.exe:
+ GOOS=windows GOARCH=386 go build -o $@ .