2015-12-08 06:13:55 +00:00
|
|
|
.PHONY: compile xref eunit clean check-all make deps test
|
2011-05-01 17:31:12 +00:00
|
|
|
|
2016-01-10 03:12:34 +00:00
|
|
|
REBAR=rebar3
|
2013-02-24 15:33:15 +00:00
|
|
|
|
2012-07-17 16:00:47 +00:00
|
|
|
all: compile
|
2011-04-25 14:12:54 +00:00
|
|
|
|
2011-05-01 23:24:49 +00:00
|
|
|
# for busy typos
|
|
|
|
m: all
|
|
|
|
ma: all
|
|
|
|
mak: all
|
|
|
|
make: all
|
|
|
|
|
2011-04-25 14:12:54 +00:00
|
|
|
compile:
|
2013-02-24 15:33:15 +00:00
|
|
|
@$(REBAR) compile
|
2011-04-25 14:12:54 +00:00
|
|
|
|
2015-12-08 03:52:39 +00:00
|
|
|
xref:
|
2013-02-24 15:33:15 +00:00
|
|
|
@$(REBAR) xref
|
2011-04-25 14:12:54 +00:00
|
|
|
|
2015-12-08 03:52:39 +00:00
|
|
|
test:
|
2016-03-10 16:21:02 +00:00
|
|
|
@$(REBAR) as test eunit eqc
|
2011-04-25 14:12:54 +00:00
|
|
|
|
|
|
|
clean:
|
2013-02-24 15:33:15 +00:00
|
|
|
@$(REBAR) clean
|
2011-04-26 09:40:35 +00:00
|
|
|
|
2015-12-08 06:13:55 +00:00
|
|
|
dialyzer:
|
|
|
|
@$(REBAR) dialyzer
|
2011-04-26 09:40:35 +00:00
|
|
|
|
2016-03-10 16:21:02 +00:00
|
|
|
check-all: test xref dialyzer
|
2011-05-05 13:59:23 +00:00
|
|
|
|
|
|
|
crosslang:
|
2011-05-05 14:26:33 +00:00
|
|
|
@echo "do ERL_LIBS=../ before you make crosslang or fail"
|
2011-05-05 13:59:23 +00:00
|
|
|
cd test && make crosslang
|