Permalink
Browse files

Makefile: Use a REBAR variable

Using a REBAR variable makes it easy for the user to override
the REBAR to be called.
  • Loading branch information...
1 parent 9fe8141 commit 07413113d5749dc1c3d9fb66ae36945310609555 @ndim ndim committed Mar 23, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 Makefile
View
@@ -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

0 comments on commit 0741311

Please sign in to comment.