forked from willemdj/erlsom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (30 loc) · 623 Bytes
/
Makefile
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
37
38
39
40
41
42
43
44
APPLICATION := erlsom
REBAR ?= rebar3
ERL := erl
EPATH := -pa ebin
TEST_EPATH := -pa .eunit
DIALYZER=dialyzer
DIALYZER_OPTS=-Wno_return -Wrace_conditions -Wunderspecs -Wbehaviours
PLT_FILE=.erlsom_plt
APPS=kernel stdlib
.PHONY: all clean test
all: compile
compile:
@$(REBAR) compile
doc:
@$(REBAR) doc
clean:
@$(REBAR) clean
build-plt: compile
@$(REBAR) build-plt
check-plt: compile
@$(REBAR) check-plt
dialyze:
@$(REBAR) dialyze
eunit:
@$(REBAR) eunit
shell: compile
$(ERL) -sname $(APPLICATION) $(EPATH)
touch:
find . -name '*' -print | xargs touch -m
find . -name '*.erl' -print | xargs touch -m