-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile
73 lines (52 loc) · 1.79 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.PHONY: test test-examples test-native test-native-regular test-native-fulldebug test-native-examples test-web test-web-examples \
test-cookiecutter doc coverage install-dependencies install-doc-dependencies install-coverage-dependencies install-test-dependencies \
clean clean-dep
test: test-native test-examples test-web
test-demos: test-native-demos test-web-demos
test-examples: test-native-examples test-web-examples
test-native: test-native-regular test-native-fulldebug test-native-opt test-native-examples
test-native-regular:
cd tests && make test
test-native-fulldebug:
cd tests && make fulldebug
test-native-opt:
cd tests && make opt
test-native-demos:
cd demos && make native-test
cd demos && make native-test-debug
test-web-demos:
cd demos && make web-test
test-native-examples:
cd examples && make native-test
cd examples && make native-test-debug
test-web-examples:
cd examples && make web-test
test-web:
cd tests && make test-web-js
../cookiecutter-empirical-project:
cd .. && git clone --recursive https://github.com/devosoft/cookiecutter-empirical-project.git
test-cookiecutter: ../cookiecutter-empirical-project
. third-party/env/bin/activate && \
export COOKIECUTTER_EMP_DIR=../../Empirical/include && \
cd ../cookiecutter-empirical-project && make clean && make test
doc:
doxygen
cd doc && python make_md.py
cd doc && make html coverage
coverage:
cd tests && make coverage
install-dependencies:
git submodule init
git submodule update
cd third-party && make
install-test-dependencies:
cd third-party && make install-test-dependencies
install-coverage-dependencies:
cd third-party && make install-coverage-dependencies
clean:
cd doc && make clean
cd demos && make clean
cd examples && make clean
cd tests && make clean
clean-dep:
cd third-party && make clean