9 lines
160 B
Makefile
9 lines
160 B
Makefile
|
.ONESHELL:
|
||
|
all:
|
||
|
for i in blocks/*; do
|
||
|
go build -ldflags '-s -w' -v -o "build/$$(basename "$$i")" "$$i/main.go"
|
||
|
done
|
||
|
|
||
|
clean:
|
||
|
rm build/* 2>/dev/null || true
|