2014-03-03 01:54:05 +02:00
|
|
|
UNAME = $(shell uname)
|
2014-03-16 01:46:10 +02:00
|
|
|
FILES=qml *.png
|
|
|
|
GOPATH=$(PWD)
|
|
|
|
|
2014-03-03 01:54:05 +02:00
|
|
|
|
|
|
|
# Default is building
|
|
|
|
all:
|
2014-03-16 01:46:10 +02:00
|
|
|
go get -d
|
|
|
|
cp *.go $(GOPATH)/src/github.com/ethereum/go-ethereum
|
|
|
|
cp -r ui $(GOPATH)/src/github.com/ethereum/go-ethereum
|
|
|
|
go build
|
2014-03-03 01:54:05 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
# Linux build
|
|
|
|
ifeq ($(UNAME),Linux)
|
2014-03-22 12:32:01 +02:00
|
|
|
cp -r assets/* /usr/share/ethereal
|
2014-03-16 01:46:10 +02:00
|
|
|
cp go-ethereum /usr/local/bin/ethereal
|
2014-03-03 01:54:05 +02:00
|
|
|
endif
|
|
|
|
# OS X build
|
|
|
|
ifeq ($(UNAME),Darwin)
|
|
|
|
# Execute py script
|
|
|
|
endif
|