I'd like to be able to do something like the following:

create a makefile that has towards the end a line like:

include /some/strange/path/foo.mk

Then inside of foo.mk there are some checks and if certain conditions are
met, foo.mk wants to do

include /some/strange/path/bar.mk


The problem is I'd rather not hard code the /some/strange/path/ part into
foo.mk.  For some make's, like BSD make, the second include call can omit
the /some/strange/path/ part.  I think include calls will look in the
location of the parent file.

Can I do this with GNU make?

Thanks

-Dan



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

Reply via email to