Created
February 2, 2022 01:33
-
-
Save jhigdon/fb0d5ee0d8d246db1b52846141171942 to your computer and use it in GitHub Desktop.
go makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
rm -f ./build/protonpack && go build -o build/ ./cmd/protonpack | |
CMDPATHS := $(patsubst %/, %, $(dir ./cmd/*/)) | |
buildall: | |
go build -o build/ $(CMDPATHS) | |
clean: | |
rm -fr ./build | |
cleanlogs: | |
rm -fr ./logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment