]> Cypherpunks.ru repositories - gohpenc.git/blob - Makefile
Forbid any later GNU GPL versions autousage
[gohpenc.git] / Makefile
1 GO ?= go
2 GOPATH ?= $(PWD)/gopath
3 SRC := $(PWD)/src/cypherpunks.ru/gohpenc
4 BIN := $(PWD)/bin
5
6 all: $(BIN)/gohpenc
7
8 $(BIN):
9         mkdir -p $(BIN)
10
11 $(BIN)/gohpenc: $(BIN)
12         cd $(SRC) ; GOPATH=$(GOPATH) $(GO) build
13         mv $(SRC)/gohpenc bin
14
15 clean:
16         rm -rf $(BIN)