Created
July 24, 2014 19:41
-
-
Save robinmonjo/97556f98d0f850f8b477 to your computer and use it in GitHub Desktop.
psdoc 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
# make . | |
# make -C path/dir | |
build: psdock | |
$(info ==> psdock binary in $(GOPATH)/bin/psdock (tip: add the $(GOPATH)/bin to your PATH)) | |
psdock: lib_psdock | |
go install ./cmd/psdock/ | |
lib_psdock: check_env | |
go install . | |
check_env: | |
ifndef GOPATH | |
$(error GOPATH must be set) | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment