blob: 33198e9fd40979b96eaf44acae30143774a14056 (
plain)
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
33
34
35
36
|
ERL ?= erl
APP := simplec
.PHONY: deps
all: compile
compile: deps
@./rebar compile
deps:
@./rebar get-deps
clean:
@./rebar clean
distclean: clean
@./rebar delete-deps
docs:
@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
test: all
@(./rebar skip_deps=true eunit)
tags:
find . -name "*.[he]rl" -print | etags -
DEPSOLVER_PLT=$(CURDIR)/.depsolver_plt
$(DEPSOLVER_PLT):
dialyzer --output_plt $(DEPSOLVER_PLT) --build_plt \
--apps erts kernel stdlib crypto http_uri -r deps
dialyzer: $(DEPSOLVER_PLT)
dialyzer --plt $(DEPSOLVER_PLT) -Wrace_conditions --src src
|