TARGETS = \
	github.com/meatballhat/box-o-sand/gotime/amqpfun \
	github.com/meatballhat/box-o-sand/gotime/amqpfun-runner \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/buffered-channels \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/channels \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-fibonacci-closure \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-http-handlers \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-maps \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-rot13-reader \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-slices \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/exercise-sqrt \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/generic-maps \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/goroutines \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/hello-web \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/maps \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/ranges \
	github.com/meatballhat/box-o-sand/gotime/gotour-artifacts/selects \
	github.com/meatballhat/box-o-sand/gotime/junkdrawer/greppish \
	github.com/meatballhat/box-o-sand/gotime/junkdrawer/reflectish \
	github.com/meatballhat/box-o-sand/gotime/junkdrawer/randimg

test: build
	go test -x -v $(TARGETS)

build: deps
	go install -x $(TARGETS)

deps:
	go get -n -x $(TARGETS)

clean:
	go clean -x -i $(TARGETS)

.PHONY: test build clean fmt
