aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/Makefile')
-rw-r--r--ethereal/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/ethereal/Makefile b/ethereal/Makefile
new file mode 100644
index 000000000..1acf03049
--- /dev/null
+++ b/ethereal/Makefile
@@ -0,0 +1,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