equal
deleted
inserted
replaced
1 ROOT=$(shell pwd) |
1 ROOT=$(shell pwd) |
2 include config.mk |
2 include config.mk |
3 |
3 |
4 all: python-module demos ccdemos models |
4 nomodels: libs-float libs-double python-module demos ccdemos |
|
5 |
|
6 all: nomodels models |
|
7 |
|
8 .PHONY : all nomodels clean distclean help |
|
9 |
|
10 help: |
|
11 @echo 'available targets:' |
|
12 @echo ' all make everything' |
|
13 @echo ' nomodels make everything except models' |
|
14 @echo ' models download models' |
|
15 @echo ' python-module build the Python module' |
|
16 @echo ' demos prepare Python demos' |
|
17 @echo ' ccdemos build C++ demos' |
|
18 @echo ' help this help message' |
|
19 @echo ' clean remove auxiliary files and executables' |
|
20 @echo ' distclean remove all non-distribution files (use with care)' |
|
21 @echo 'default target is nomodels' |
5 |
22 |
6 python-module: libs-float |
23 python-module: libs-float |
7 $(MAKE) -C src python-module |
24 $(MAKE) -C src python-module |
8 |
25 |
9 demos: python-module models |
26 demos: python-module models |
24 clean: |
41 clean: |
25 $(MAKE) -C src clean |
42 $(MAKE) -C src clean |
26 $(MAKE) -C demos clean |
43 $(MAKE) -C demos clean |
27 $(MAKE) -C ccdemos clean |
44 $(MAKE) -C ccdemos clean |
28 |
45 |
|
46 distclean: clean |
|
47 $(MAKE) -C demos distclean |
|
48 $(MAKE) -C ccdemos distclean |
|
49 $(MAKE) -C models distclean |
|
50 |
29 |
51 |
30 # TARGETS |
52 # TARGETS |
31 ######### |
53 ######### |
32 |
54 |
33 tests: testvector testmatrix |
55 tests: testvector testmatrix |