mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
22 lines
408 B
Makefile
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
|
|
|