From a482b0cc1b7ddbeae00988c7dd10391df01b0009 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 3 Mar 2014 00:54:05 +0100 Subject: WIP Makefile --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3