%% Noel Yap <[EMAIL PROTECTED]> writes:

  ny> YMMV, indeed.  I think I wasn't clear in my last post.  Since the
  ny> OBJDIR info will be split among several makefiles, several
  ny> $(shell)'s will need to be done, one for each makefile.

I just do something like:

    MAKEDIRLIST += foo bar
      ...
    MAKEDIRLIST += biz
      ...
    MAKEDIRLIST += boz

        ...

    $(shell for d in $(MAKEDIRLIST); do ...etc)

Just put the $(shell ...) at the end and do them all at once.  You don't
have to do them in order: remember all makefiles are read first before
any rules are run.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to