From 263f746d3a94925c1a9d706300a996a9af3e1804 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 3 Apr 2024 21:50:47 +0200 Subject: [PATCH] update makefile --- app/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Makefile b/app/Makefile index 86f38c6..e2ff9b8 100644 --- a/app/Makefile +++ b/app/Makefile @@ -1,6 +1,15 @@ .PHONY: build build: + mkdir -p ./dist 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/b ./b 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