Files
esqlite/Makefile
Maas-Maarten Zeeman d5cb6b103d Added dialyzer support
2012-12-27 00:35:28 +01:00

33 lines
529 B
Makefile

PROJECT = esqlite
REBAR = ./rebar
DIALYZER = dialyzer
all: compile
rebar:
wget https://github.com/downloads/basho/rebar/rebar -O $(REBAR)
chmod u+x $(REBAR)
compile: rebar
$(REBAR) compile
test: compile
$(REBAR) eunit
clean: rebar
$(REBAR) clean
distclean:
rm $(REBAR)
# dializer
build-plt:
@$(DIALYZER) --build_plt --output_plt .$(PROJECT).plt \
--apps kernel stdlib
dialyze:
@$(DIALYZER) --src src --plt .$(PROJECT).plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns -Wunderspecs