PACKAGES := $(foreach pkg,\ $(shell ls src/gotour.meatballhat.com),\ $(patsubst %,gotour.meatballhat.com/%,$(pkg))\ ) all: go install $(PACKAGES) clean: rm -v bin/* env: @echo GOPATH=$(GOPATH) @echo PACKAGES=$(PACKAGES) .PHONY: all clean