GO ?= go GOPATH ?= $(PWD)/gopath SRC := $(PWD)/src/cypherpunks.ru/gohpenc BIN := $(PWD)/bin all: $(BIN)/gohpenc $(BIN): mkdir -p $(BIN) $(BIN)/gohpenc: $(BIN) cd $(SRC) ; GOPATH=$(GOPATH) $(GO) build mv $(SRC)/gohpenc bin clean: rm -rf $(BIN)