0d7806fba4
based on some recent practical experience with Go.
17 lines
251 B
Makefile
17 lines
251 B
Makefile
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
|