-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (32 loc) · 1.89 KB
/
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
33
34
35
36
37
all: init build
init:
@echo "Build all commands for linux, darwin platform"
build:
@echo "Build for Linux Plaform(386)"
@echo "Build cmd/gdrivesql/gdrivesql.go file"
env GOOS=linux GOARCH=386 go build -o gdrivesql-linux-386 cmd/gdrivesql/gdrivesql.go
@echo "Build cmd/gdriveauth/gdriveauth.go file"
env GOOS=linux GOARCH=386 go build -o gdriveauth-linux-386 cmd/gdriveauth/gdriveauth.go
@echo "Build cmd/gdriveclean/gdriveclean.go file"
env GOOS=linux GOARCH=386 go build -o gdriveclean-linux-386 cmd/gdriveclean/gdriveclean.go
@echo "Build for Linux Plaform(amd64)"
@echo "Build cmd/gdrivesql/gdrivesql.go file"
env GOOS=linux GOARCH=amd64 go build -o gdrivesql-linux-amd64 cmd/gdrivesql/gdrivesql.go
@echo "Build cmd/gdriveauth/gdriveauth.go file"
env GOOS=linux GOARCH=amd64 go build -o gdriveauth-linux-amd64 cmd/gdriveauth/gdriveauth.go
@echo "Build cmd/gdriveclean/gdriveclean.go file"
env GOOS=linux GOARCH=amd64 go build -o gdriveclean-linux-amd64 cmd/gdriveclean/gdriveclean.go
@echo "Build for Darwin Plaform(386)"
@echo "Build cmd/gdrivesql/gdrivesql.go file"
env GOOS=darwin GOARCH=386 go build -o gdrivesql-darwin-386 cmd/gdrivesql/gdrivesql.go
@echo "Build cmd/gdriveauth/gdriveauth.go file"
env GOOS=darwin GOARCH=386 go build -o gdriveauth-darwin-386 cmd/gdriveauth/gdriveauth.go
@echo "Build cmd/gdriveclean/gdriveclean.go file"
env GOOS=darwin GOARCH=386 go build -o gdriveclean-darwin-386 cmd/gdriveclean/gdriveclean.go
@echo "Build for Darwin Plaform(amd64)"
@echo "Build cmd/gdrivesql/gdrivesql.go file"
env GOOS=darwin GOARCH=amd64 go build -o gdrivesql-darwin-amd64 cmd/gdrivesql/gdrivesql.go
@echo "Build cmd/gdriveauth/gdriveauth.go file"
env GOOS=darwin GOARCH=amd64 go build -o gdriveauth-darwin-amd64 cmd/gdriveauth/gdriveauth.go
@echo "Build cmd/gdriveclean/gdriveclean.go file"
env GOOS=darwin GOARCH=amd64 go build -o gdriveclean-darwin-amd64 cmd/gdriveclean/gdriveclean.go