%% Russell <[EMAIL PROTECTED]> writes:

  >> CSRCS = file1.c file2.c file999.c file1000.c
  >> c.pfs:
  >> @rm -f $@
  >> @$(foreach f,$(CSRCS),$(shell echo $(f) >> $@))

  r> I think each line of the command is spawned as a separate
  r> shell process. Try to keep all the commands in one line
  r> (one process):

He's using make commands like $(foreach ...) and $(shell ...), and those
are evaluated by make before the command script is actually invoked.

So, what you're suggesting won't help...

-- 
-------------------------------------------------------------------------------
 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