aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <[email protected]>2011-03-23 10:54:09 +0100
committerHans Ulrich Niedermann <[email protected]>2011-03-23 10:54:09 +0100
commit07413113d5749dc1c3d9fb66ae36945310609555 (patch)
treeccf6f23e1cb5bface20d62c5ead082e92220c8fa /Makefile
parent9fe8141d2a80b6e60a716bc4c318d8929195c808 (diff)
downloadcowboy-07413113d5749dc1c3d9fb66ae36945310609555.tar.gz
cowboy-07413113d5749dc1c3d9fb66ae36945310609555.tar.bz2
cowboy-07413113d5749dc1c3d9fb66ae36945310609555.zip
Makefile: Use a REBAR variable
Using a REBAR variable makes it easy for the user to override the REBAR to be called.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ec86c18..f463c99 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,15 @@
# See LICENSE for licensing information.
+REBAR = ./rebar
+
all: app
app:
- @./rebar compile
+ @$(REBAR) compile
clean:
- @./rebar clean
+ @$(REBAR) clean
rm -f erl_crash.dump
test:
- @./rebar eunit
+ @$(REBAR) eunit