0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Makefile: Use a REBAR variable

Using a REBAR variable makes it easy for the user to override
the REBAR to be called.
This commit is contained in:
Hans Ulrich Niedermann 2011-03-23 10:54:09 +01:00
parent 9fe8141d2a
commit 07413113d5

View file

@ -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