-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 717 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ERL=erl
OTP_TOP=/opt/local/lib/erlang/lib
PLT_SRC=$(OTP_TOP)/kernel-2.12.4/ebin $(OTP_TOP)/stdlib-1.15.4/ebin/ $(OTP_TOP)/crypto-1.5.2.1/ebin $(OTP_TOP)/compiler-4.5.4/ebin $(OTP_TOP)/hipe-3.6.8/ebin/ $(OTP_TOP)/syntax_tools-1.5.5/ebin $(OTP_TOP)/hipe-3.6.8/ebin ebin
all: compile docs
compile:
$(ERL) -make
cd priv && make
static:
dialyzer --build_plt --output_plt sqlite.plt -r ebin $(PLT_SRC)
clean:
- rm -rf ebin/*.beam doc/* sqlite.plt src/test/*.beam
- rm -rf ct_run* all_runs.html variables* index.html
find . -name "*~" | xargs rm
cd priv && make clean
docs:
$(ERL) -noshell -run edoc_run application "'sqlite'" '"."' '[{title,"Welcome to sqlite"},{hidden,false},{private,false}]' -s erlang halt