X-Git-Url: http://www.git.cypherpunks.ru/?p=gohpenc.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=95f8740fc36e88484f98d156ae6e3ec14f2f6a1d;hp=0000000000000000000000000000000000000000;hb=eb30117752314a1b54b1684769c1f4191decf239;hpb=36e3f282f3f816aef08c9e4af42220f482d151f7 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..95f8740 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +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)