-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 847 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
32
bin: bin/qh_darwin_amd64 bin/qh_linux_amd64 bin/qh_windows_amd64.exe
bin: bin/qh_darwin_arm64 bin/qh_linux_arm64 bin/qh_windows_arm64.exe
bin/qh_darwin_amd64:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=darwin GOARCH=amd64 go build -o $@ ./cmd/qh/*.go
bin/qh_linux_amd64:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=linux GOARCH=amd64 go build -o $@ ./cmd/qh/*.go
bin/qh_windows_amd64.exe:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=windows GOARCH=amd64 go build -o $@ ./cmd/qh/*.go
bin/qh_darwin_arm64:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=darwin GOARCH=arm64 go build -o $@ ./cmd/qh/*.go
bin/qh_linux_arm64:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=linux GOARCH=arm64 go build -o $@ ./cmd/qh/*.go
bin/qh_windows_arm64.exe:
@mkdir -p bin
@echo "Compiling qh..."
GOOS=windows GOARCH=arm64 go build -o $@ ./cmd/qh/*.go