forked from alexeyr/erlang-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 645 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
REBAR=rebar
REBAR_COMPILE=$(REBAR) get-deps compile
PLT=dialyzer\sqlite3.plt
ERL_INTERFACE=$(ERL_ROOT)\lib\erl_interface-3.7.2
ERTS=$(ERL_ROOT)\erts-5.8.2
SQLITE_SRC=F:\MyProgramming\sqlite-amalgamation
all: compile
compile:
$(REBAR_COMPILE)
debug:
$(REBAR_COMPILE) -C rebar.debug.config
tests:
$(REBAR) eunit
clean:
del /Q deps ebin priv doc\* .eunit c_src\*.o
docs:
$(REBAR_COMPILE) doc
static: compile
@if not exist $(PLT) \
(mkdir dialyzer & dialyzer --build_plt --apps kernel stdlib erts --output_plt $(PLT)); \
else \
(dialyzer --plt $(PLT) -r ebin)
cross_compile: clean
$(REBAR_COMPILE) -C rebar.cross_compile.config