-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 681 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 681 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
ERL=erl
ERL_LIBS=$(shell erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell)
all: src
src: FORCE
@$(ERL) -make
plt:
@dialyzer --build_plt --output_plt .plt -q -r . -I include/
check: src
@dialyzer --check_plt --plt .plt -q -r . -I include/ \
-I $(ERL_LIBS)/test_server*/include/ \
-I $(ERL_LIBS)/common_test*/include/
test: test.spec src
@run_test -pa $(PWD)/ebin -pa $(PWD)/../osmos-0.0.1/src -spec test.spec
@rm variables-ct*
test.spec: test.spec.in
@cat test.spec.in | sed -e "s,@PATH@,$(PWD)," > $(PWD)/test.spec
clean:
rm -f */*.beam
rm -f test.spec
doc: FORCE
@erl -noshell -run edoc_run application elib '"."' '[{new, true}]'
FORCE: