aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-03 07:54:05 +0800
committerobscuren <geffobscura@gmail.com>2014-03-03 07:54:05 +0800
commita482b0cc1b7ddbeae00988c7dd10391df01b0009 (patch)
tree4c8985b4bf07048d9af20b184fb7f23a6f75477c
parent00533003b7e5369260f63e65b88e2f08ab33350b (diff)
downloadgo-tangerine-a482b0cc1b7ddbeae00988c7dd10391df01b0009.tar.gz
go-tangerine-a482b0cc1b7ddbeae00988c7dd10391df01b0009.tar.zst
go-tangerine-a482b0cc1b7ddbeae00988c7dd10391df01b0009.zip
WIP Makefile
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..4da4c551c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+UNAME = $(shell uname)
+
+# Default is building
+all:
+ go install
+
+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
+ done
+ cp $GOPATH/bin/go-ethereum /usr/local/bin/ethereal
+endif
+# OS X build
+ifeq ($(UNAME),Darwin)
+ # Execute py script
+endif