hanoidb/Makefile
Jesper Louis Andersen 372a05619c Improve the test stale btree removal.
Also delete the "simple" Btree in between test runs so we have a clean
slate of what is happening.
2012-01-07 00:58:57 +01:00

36 lines
621 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
eunit: compile clean-test-btrees
@$(REBAR) eunit skip_deps=true
clean-test-btrees:
rm -fr .eunit/Btree_* .eunit/simple
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