Files
erlang-sqlite3/Makefile
2010-10-14 12:12:53 +04:00

23 lines
404 B
Makefile

REBAR=./rebar
all: compile
compile:
$(REBAR) get-deps compile
test: all
$(REBAR) skip_deps=true eunit
clean:
-rm -rf deps ebin priv doc/*
docs:
$(REBAR) doc
ifeq ($(wildcard sqlite3.plt),)
static:
dialyzer --build_plt --output_plt sqlite3.plt --apps erts kernel stdlib crypto compiler hipe syntax_tools -r ebin
else
static:
dialyzer --add_to_plt --plt sqlite3.plt -r ebin --get_warnings
endif