aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/Makefile
blob: 1acf0304932469e962bc23774f593ae21329738d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
UNAME = $(shell uname)
FILES=qml *.png
GOPATH=$(PWD)


# 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

install:
# Linux build
ifeq ($(UNAME),Linux)
    cp -r assets/* /usr/share/ethereal
    cp go-ethereum /usr/local/bin/ethereal
endif
# OS X build
ifeq ($(UNAME),Darwin)
    # Execute py script
endif