summaryrefslogtreecommitdiff
path: root/makefile
blob: d83193899b315e49ccf0a2c9c7a98989af952784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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-osx-m1:
	GOOS=darwin GOARCH=arm64 go build -o $@ ./cmd/rescribe

rescribe.exe:
	GOOS=windows GOARCH=386 go build -o $@ ./cmd/rescribe