fcf7af36ca
While here, also dump another slew of goodies in the makefile.
30 lines
498 B
Makefile
30 lines
498 B
Makefile
REBAR = ./rebar
|
|
DIALYZER = dialyzer
|
|
|
|
.PHONY: plt analyze all deps compile get-deps clean
|
|
|
|
all: compile
|
|
|
|
get-deps:
|
|
@$(REBAR) get-deps
|
|
|
|
compile:
|
|
@$(REBAR) compile
|
|
|
|
clean:
|
|
@$(REBAR) clean
|
|
|
|
plt: compile
|
|
$(DIALYZER) --build_plt --output_plt .fractal_btree.plt \
|
|
-pa deps/plain_fsm/ebin \
|
|
-pa deps/ebloom/ebin \
|
|
deps/plain_fsm/ebin \
|
|
deps/ebloom/ebin \
|
|
--apps kernel stdlib
|
|
|
|
analyze: compile
|
|
$(DIALYZER) --plt .fractal_btree.plt \
|
|
-pa deps/plain_fsm/ebin \
|
|
-pa deps/ebloom/ebin \
|
|
ebin
|
|
|