pool/blocknotify-dcr/Makefile
Tanguy Pruvot ca50beefe6 blocknotify-dcr: refresh glide and fix new build issue
+ reduce sunday min payout
2017-09-13 08:28:33 +02:00

22 lines
408 B
Makefile

OUT_GO=blocknotify-dcr
OUTPUT=blocknotify-dcr
ROOT=`pwd`
all:
rm -f $(OUT_GO)
rm -rf vendor
glide install
ln -s ../vendor vendor/src
rm -f vendor/src/github.com/decred/dcrrpcclient/wallet.go
GOPATH="$(GOPATH):$(ROOT)/vendor" go build
install: all
strip -s $(OUT_GO)
killall -9 $(OUTPUT) || echo ok
mv $(OUT_GO) ../bin/$(OUTPUT)
sh -c "../bin/$(OUTPUT) &"
clean:
rm -f $(OUT_GO)
rm -rf vendor