aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCayman Nava <caymannava@gmail.com>2014-03-16 07:46:10 +0800
committerCayman Nava <caymannava@gmail.com>2014-03-16 07:46:10 +0800
commit13e18e1d8f717ffab1b59a39cf67ef169a542e74 (patch)
treecd48d05bfd058cb4aa9d6874a73f076e65337079 /Makefile
parentfbd53f0e34b636074941f5ea7b151bf173c5ed17 (diff)
downloaddexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar.gz
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar.bz2
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar.lz
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar.xz
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.tar.zst
dexon-13e18e1d8f717ffab1b59a39cf67ef169a542e74.zip
working linux makefile
when building develop branch, checkout of eth-go develop branch is required
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4da4c551c..709c416db 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,23 @@
UNAME = $(shell uname)
+FILES=qml *.png
+GOPATH=$(PWD)
+
# Default is building
all:
- go install
+ 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)
- mkdir /usr/local/ethereal
- files=(wallet.qml net.png network.png new.png tx.png)
- for file in "${files[@]}"; do
- cp $file /usr/share/ethereal
+ mkdir -p /usr/share/ethereal
+ for file in $(FILES); do \
+ cp -r $$file /usr/share/ethereal; \
done
- cp $GOPATH/bin/go-ethereum /usr/local/bin/ethereal
+ cp go-ethereum /usr/local/bin/ethereal
endif
# OS X build
ifeq ($(UNAME),Darwin)