help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: export not working...


From: Steve Byan
Subject: Re: export not working...
Date: Wed, 21 Jan 2004 14:23:37 -0500


On Jan 21, 2004, at 11:14 AM, Christopher J Bottaro wrote:

on another note, how would one do a recursive make clean without using a shell
for loop?  right now i have it like this:

clean:
        @for d in $(SUBDIRS); do \
                cd $dd && $(MAKE) clean || exit 1; \
        done

but what is the "correct" way to do this?

clean:
        $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) clean;)


Regards,
-Steve
--------
Steve Byan <address@hidden> or <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]