Hello,

i have a problem to write a "master-makefile" for other makefiles in 2 subdirs.

mastermakefile in maindir:

MODULES = dira dirb

all:
        for dir in $(MODULES); do \
        (cd $$dir; $(MAKE) all); \
        done 
clean:
        for dir in $(MODULES); do \
        (cd $$dir; $(MAKE) clean); \
        done 

in the subdirs are makefiles with an all-routine and a clean-routine, but if i 
want to clean with the mastermakefile all generated files in the 2 subdirs the 
makefiles in the subdirs didnt get the delete parameter.


sorry for my bad english ;)

blink

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to