go-ethereum/ethereal/Makefile

23 lines
405 B
Makefile
Raw Normal View History

2014-03-02 17:54:05 -06:00
UNAME = $(shell uname)
FILES=qml *.png
GOPATH=$(PWD)
2014-03-02 17:54:05 -06:00
# Default is building
all:
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-02 17:54:05 -06:00
install:
# Linux build
ifeq ($(UNAME),Linux)
cp -r assets/* /usr/share/ethereal
cp go-ethereum /usr/local/bin/ethereal
2014-03-02 17:54:05 -06:00
endif
# OS X build
ifeq ($(UNAME),Darwin)
# Execute py script
endif