-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
53 lines (38 loc) · 817 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
45
46
47
48
49
50
51
52
53
all: deps compile
deps: deps/yaws
deps/yaws:
@rebar get-deps
compile:
@rebar compile
dialyze: all dial_dkb dial_dky
dial_dkb:
dialyzer -Wrace_conditions dk_bench/ebin
dial_dky:
dialyzer -Wrace_conditions dk_yaws/ebin
dial_dky:
dialyzer -Wrace_conditions
gc:
@echo 'Removing all emacs backup files'
@rm -f *~
@rm -f */*~
@rm -f */*/*~
@rm -f */*/*/*~
@rm -f */*/*/*/*~
@rm -f erl_crash.dump
@rm -f */erl_crash.dump
@rm -f */*/erl_crash.dump
@rm -f */*/*/erl_crash.dump
@rm -f */*/*/*/erl_crash.dump
rel: all
@echo 'Generating dk_bench release'
@(cd rel; rebar generate)
clean: gc
@rebar clean
relclean: relclean_dkb
relclean_dkb:
@rm -rf rel/dk_bench
realclean: clean relclean
@rebar del-deps
@rm -rf deps/*
eunit: all
ERL_LIBS=$(CURDIR):$(CURDIR)/deps rebar skip_deps=true eunit