Debian Codegraph @

tools/swig/Makefile

raw
1 # List all of the subdirectories here for recursive make
2 SUBDIRS = test
3
4 # Default target
5 .PHONY : default
6 default:
7 @echo "There is no default make target for this Makefile"
8 @echo "Valid make targets are:"
9 @echo " test - Compile and run tests of numpy.i"
10 @echo " doc - Generate numpy.i documentation"
11 @echo " all - make test + doc"
12 @echo " clean - Remove generated files recursively"
13
14 # Target all
15 .PHONY : all
16 all: $(SUBDIRS)
17
18 # Target test
19 .PHONY : test
20 test:
21 cd $@ && make $@
22
23 # Target clean
24 .PHONY : clean
25 clean:
26 @for dir in $(SUBDIRS); do \
27 echo ; \
28 echo Running \'make clean\' in $$dir; \
29 cd $$dir && make clean && cd ..; \
30 done; \
31 echo