curdir:= $(shell pwd) GOCMD := go getlibs: export GOPATH=$(curdir) getlibs: $(GOCMD) get "github.com/coopernurse/gorp" $(GOCMD) get "github.com/mattn/go-sqlite3" build: export GOPATH=$(curdir) build: getlibs $(GOCMD) install spreadspace.org/sfive-hub test: export GOPATH=$(curdir) test: getlibs $(GOCMD) test spreadspace.org/sfive all: build test .PHONY: getlibs build test _setenv .DEFAULT_GOAL = all