Hello,

When I include submakefiles with

-include foobar


I would like for make to just read the file if there is one, and do nothing 
otherwise.  Do not consider "foobar" to be a target or anything else.  Just 
read it if there is one, no other action.

Bart Robinson wrote here that to get of rid of implicit rule search, one can 
use:

foobar: ;

Yes but I already use "make -r" so this does not help.  make still tries looks 
at "foobar" as a target, and tries to find if it should update it;  with 
thousands of such "targets", it is an efficiency problem.

Myself I found a rule to prevent looping, that can be used here:

foobar::                ;

This works better, less time is spent than with one colon, but still, some time 
is spent by make on this "target".  How do I force make to not spend _any_ time 
on foobar being a target??

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

Reply via email to