Line | |
---|
1 | |
---|
2 | subdirs = @SUBDIRS@ |
---|
3 | |
---|
4 | all: |
---|
5 | for dir in $(subdirs) ; do \ |
---|
6 | if test -d $$dir ; then \ |
---|
7 | echo "$$dir: $(MAKE) $@" ; \ |
---|
8 | if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1; fi ; \ |
---|
9 | else \ |
---|
10 | exit 1; \ |
---|
11 | fi \ |
---|
12 | done; |
---|
13 | |
---|
14 | install: |
---|
15 | for dir in $(subdirs) ; do \ |
---|
16 | if test -d $$dir ; then \ |
---|
17 | echo "$$dir: $(MAKE) $@" ; \ |
---|
18 | if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1; fi ; \ |
---|
19 | else \ |
---|
20 | exit 1; \ |
---|
21 | fi \ |
---|
22 | done; |
---|
23 | install -c -m 755 start_viz.sh @prefix@/start_viz.sh |
---|
24 | |
---|
25 | clean: |
---|
26 | for dir in $(subdirs) ; do \ |
---|
27 | if test -d $$dir ; then \ |
---|
28 | echo "$$dir: $(MAKE) $@" ; \ |
---|
29 | if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1; fi ; \ |
---|
30 | else \ |
---|
31 | exit 1; \ |
---|
32 | fi \ |
---|
33 | done; |
---|
34 | |
---|
35 | distclean: |
---|
36 | for dir in $(subdirs) ; do \ |
---|
37 | if test -d $$dir ; then \ |
---|
38 | echo "$$dir: $(MAKE) $@" ; \ |
---|
39 | if (cd $$dir; $(MAKE) $@) ; then true ; else exit 1; fi ; \ |
---|
40 | else \ |
---|
41 | exit 1; \ |
---|
42 | fi \ |
---|
43 | done; |
---|
44 | rm -f *~ |
---|
45 | rm -f Makefile start_viz.sh |
---|
Note: See
TracBrowser
for help on using the repository browser.