~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/examples/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# variables 
3
3
#-------------------------------------------------
4
4
 
5
 
SUBDIRS := $(shell find $(shell pwd) -type d -maxdepth 1 -mindepth 1)
 
5
SUBDIRS := $(shell find $(shell pwd) -maxdepth 1 -mindepth 1 -type d)
6
6
SUBDIRS := $(filter-out %/CVS, $(SUBDIRS))
7
7
SUBDIRS := $(SUBDIRS)
8
8
 
15
15
 
16
16
# define how to propagate a target into the subdirectories
17
17
define propagate
18
 
        for DIR in $(SUBDIRS); \
19
 
          do cd $$DIR; \
20
 
          $(MAKE) $(MAKECMDGOALS); \
 
18
        for DIR in $(SUBDIRS); do \
 
19
          if [ "`basename $$DIR`" != ".svn" ]; then \
 
20
            cd "$$DIR"; \
 
21
            $(MAKE) $(MAKECMDGOALS); \
 
22
          fi \
21
23
        done
22
24
endef
23
25
 
27
29
# rules
28
30
#-------------------------------------------------
29
31
 
30
 
all clean:
 
32
all:
 
33
        @$(propagate)
 
34
 
 
35
clean:
31
36
        @$(propagate)