aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/Makefile')
-rw-r--r--ethereal/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/ethereal/Makefile b/ethereal/Makefile
new file mode 100644
index 000000000..02d127963
--- /dev/null
+++ b/ethereal/Makefile
@@ -0,0 +1,21 @@
+UNAME = $(shell uname)
+
+# Default is building
+all:
+ go install
+
+install:
+# Linux build
+ifeq ($(UNAME),Linux)
+ mkdir -p /usr/local/ethereal
+ files=(net.png network.png new.png tx.png)
+ for file in "${files[@]}"; do
+ cp $file /usr/share/ethereal
+ done
+ cp -r qml /usr/share/ethereal/qml
+ cp $GOPATH/bin/go-ethereum /usr/local/bin/ethereal
+endif
+# OS X build
+ifeq ($(UNAME),Darwin)
+ # Execute py script
+endif