From 07413113d5749dc1c3d9fb66ae36945310609555 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 23 Mar 2011 10:54:09 +0100 Subject: Makefile: Use a REBAR variable Using a REBAR variable makes it easy for the user to override the REBAR to be called. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3