-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (27 loc) · 1012 Bytes
/
Makefile
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
build:
go build -o bin/stationboard cmd/stationboard/main.go
run:
go run main.go
clean:
rm -r bin
install:
go install ./cmd/stationboard
compile:
# 32-Bit Systems
# FreeBDS
GOOS=freebsd GOARCH=386 go build -o bin/stationboard-freebsd-386 cmd/stationboard/main.go
# MacOS
GOOS=darwin GOARCH=386 go build -o bin/stationboard-darwin-386 cmd/stationboard/main.go
# Linux
GOOS=linux GOARCH=386 go build -o bin/stationboard-linux-386 cmd/stationboard/main.go
# Windows
GOOS=windows GOARCH=386 go build -o bin/stationboard-windows-386.exe cmd/stationboard/main.go
# 64-Bit
# FreeBDS
GOOS=freebsd GOARCH=amd64 go build -o bin/stationboard-freebsd-amd64 cmd/stationboard/main.go
# MacOS
GOOS=darwin GOARCH=amd64 go build -o bin/stationboard-darwin-amd64 cmd/stationboard/main.go
# Linux
GOOS=linux GOARCH=amd64 go build -o bin/stationboard-linux-amd64 cmd/stationboard/main.go
# Windows
GOOS=windows GOARCH=amd64 go build -o bin/stationboard-windows-amd64.exe cmd/stationboard/main.go