summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-02-05 17:15:51 +0000
committerNick White <git@njw.name>2021-02-05 17:15:51 +0000
commit11470933e4fd379b4aefa4e2bab33662a72791c2 (patch)
tree8607e7739989ff63032b9ce10a8bf8553ecc6eb6 /makefile
parent3e7da751b3ca917adb79674eac4ef2a3267e3984 (diff)
parenta8c7481f0dc02bbda3b3a07091e9d61f6eb728b2 (diff)
Merge branch 'master' of ssh://ssh.phx.nearlyfreespeech.net/home/public/bookpipeline
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..6ba1af5
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
+# See LICENSE file for copyright and license details.
+
+default:
+ @echo "To build and install use the basic go tools like so: go install ./..."
+ @echo "This makefile is just for cross compiling (for which the"
+ @echo "targets rescribe-osx and rescribe-w32 exist)"
+
+rescribe-osx:
+ GOOS=darwin GOARCH=amd64 go build -o $@ ./cmd/rescribe
+
+rescribe.exe:
+ GOOS=windows GOARCH=386 go build -o $@ ./cmd/rescribe