-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 742 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (25 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
run:
go run .
build:
go build -o neut2tr.exe .
.PHONY: examples
examples: build
neut2tr examples/examples.rkt examples/examples.t.rkt
bin: bin-windows-amd64 bin-darwin-arm64 bin-darwin-amd64 bin-linux-amd64
-
bin-windows-amd64: export GOOS=windows
bin-windows-amd64: export GOARCH=amd64
bin-windows-amd64:
go build -o bin/neut2tr-windows-x64.exe
bin-darwin-arm64: export GOOS=darwin
bin-darwin-arm64: export GOARCH=arm64
bin-darwin-arm64:
go build -o bin/neut2tr-darwin-arm64
bin-darwin-amd64: export GOOS=darwin
bin-darwin-amd64: export GOARCH=amd64
bin-darwin-amd64:
go build -o bin/neut2tr-darwin-x64
bin-linux-amd64: export GOOS=linux
bin-linux-amd64: export GOARCH=amd64
bin-linux-amd64:
go build -o bin/neut2tr-linux-x64