summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus_arch2018-02-02 13:09:13 +0100
committerhorus_arch2018-02-02 13:09:13 +0100
commit72716408908a58c6fad6ce32fa620b5776b08cb9 (patch)
treed7a8186eaa8da5555363dab186be343969d59f0a
parentd5405af12e2f0e03f96c15e1d0cddb65abe37572 (diff)
downloadalkobote-72716408908a58c6fad6ce32fa620b5776b08cb9.tar.gz
Improves the makefile.
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f725d46..5533155 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
+SOURCE=alkobote.de
+
all: run
-build:
+$(SOURCE):
go build
+build: $(SOURCE)
+
run: build
- ./alkobote.de
+ ./$(SOURCE)