Files
erlang-sqlite3/Makefile
2010-11-15 11:43:17 +03:00

28 lines
450 B
Makefile

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