hanoidb/Makefile
Jesper Louis Andersen fcf7af36ca Provide a Makefile for running dialyzer.
While here, also dump another slew of goodies in the makefile.
2012-01-06 21:22:23 +01:00

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