summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
blob: aee2114fde2000f24ccdb312b4f14b121a56d94f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# See LICENSE file for copyright and license details.

all: dist/linux/rescribe dist/darwin_amd64/rescribe dist/darwin_arm64/rescribe dist/windows/rescribe.exe

dist/linux/rescribe:
	mkdir -p dist/linux
	GOOS=linux GOARCH=amd64 go build -o $@ .

dist/darwin_amd64/rescribe:
	mkdir -p dist/darwin_amd64
	GOOS=darwin GOARCH=amd64 go build -o $@ .

dist/darwin_arm64/rescribe:
	mkdir -p dist/darwin_arm64
	GOOS=darwin GOARCH=arm64 go build -o $@ .

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