forked from lehoff/kairos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (25 loc) · 690 Bytes
/
Makefile
File metadata and controls
40 lines (25 loc) · 690 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
32
33
34
35
36
37
38
39
40
PROJECT = chronos
PROJECT_DESCRIPTION = chronos - a timer utility for Erlang
PROJECT_VERSION = 0.1.3
DEPS = gproc
TEST_DEPS = meck
dep_meck = git https://github.com/eproxus/meck 0.8.2
CT_SUITES = chronos
include erlang.mk
test_chronos: ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS))
example_beams: examples/*.erl
examples: build example_beams
erlc -o examples examples/*.erl
ex-shell: examples
erl -pz examples -pz deps/*/ebin -pz ebin
clean-beam:
rm -rf ebin/*.beam examples/*.beam test/*.beam
clean-ct:
rm -rf ct_run*
-rm -f all_runs.html
-rm -f index.html
-rm -f jquery*.js
-rm -f ct_default.css
-rm -f variables-ct*
deep-clean: clean-beam clean-ct
rm -rf deps