forked from devosoft/Empirical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
71 lines (50 loc) · 1.75 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
.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:
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