mirror of
https://github.com/Crocmagnon/go-binary-size.git
synced 2024-11-21 07:38:05 +01:00
update makefile
This commit is contained in:
parent
605e9a58e3
commit
263f746d3a
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,15 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
|
mkdir -p ./dist
|
||||||
GOARCH=amd64 GOOS=darwin go build -o ./dist/a ./a
|
GOARCH=amd64 GOOS=darwin go build -o ./dist/a ./a
|
||||||
GOARCH=amd64 GOOS=darwin go build -o ./dist/a2 ./a2
|
GOARCH=amd64 GOOS=darwin go build -o ./dist/a2 ./a2
|
||||||
GOARCH=amd64 GOOS=darwin go build -o ./dist/b ./b
|
GOARCH=amd64 GOOS=darwin go build -o ./dist/b ./b
|
||||||
GOARCH=amd64 GOOS=darwin go build -o ./dist/control ./control
|
GOARCH=amd64 GOOS=darwin go build -o ./dist/control ./control
|
||||||
|
|
||||||
|
.PHONY: deptree
|
||||||
|
deptree:
|
||||||
|
mkdir -p ./deptree
|
||||||
|
depth ./a > ./deptree/a
|
||||||
|
depth ./a2 > ./deptree/a2
|
||||||
|
depth ./b > ./deptree/b
|
||||||
|
depth ./control > ./deptree/control
|
||||||
|
|
Loading…
Reference in a new issue