mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-24 20:30:34 +00:00
21 lines
349 B
Makefile
21 lines
349 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
|
|
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
|
|
|