-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
50 lines (33 loc) · 1.29 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
SCONS_ARGS=-C example --debug=time
default: example-linux
get3rdparty:
./getOpenCv.sh
example: get3rdparty
scons $(SCONS_ARGS) --jobs 8 example
example-linux: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=linux example
example-linux-rebuild: clean example-linux
example-linux-single-threaded: get3rdparty
scons $(SCONS_ARGS) --jobs 1 target=linux example
example-mac: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=macosx example
buildAllLibsWithExample: get3rdparty
scons $(SCONS_ARGS) --jobs 8 buildAllLibsWithExample
buildAllLibsWithExample-linux: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=linux buildAllLibsWithExample
buildAllLibsWithExample-linux-rebuild: clean buildAllLibsWithExample-linux
buildAllLibsWithExample-linux-single-threaded: get3rdparty
scons $(SCONS_ARGS) --jobs 1 target=linux buildAllLibsWithExample
buildAllLibsWithExample-macosx: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=macosx buildAllLibsWithExample
buildAllLibs: get3rdparty
scons $(SCONS_ARGS) --jobs 8 buildAllLibs
buildAllLibs-linux: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=linux buildAllLibs
buildAllLibs-linux-rebuild: clean buildAllLibs-Linux
buildAllLibs-macosx: get3rdparty
scons $(SCONS_ARGS) --jobs 8 target=macosx buildAllLibs
clean:
rm -rf opencv
rm -f *.a
rm -rf example/build