<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>I'm including a Makefile in a Makefile via ../../../../ ../Makefile.inc, but I want to "cascade" them. Here is a same tree:</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>build_root</div><div> I0000025</div><div> src</div><div> binutils-2.25</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>One option is to simply use links. In binutil's Makefile I could add</div><div>include ../Makefile.inc</div><div><br></div><div>In src:</div><div>ln -sf ../Makefile.inc Makefile.inc</div><div><br data-mce-bogus="1"></div><div>I can do that in src'c parent of I0000025. This is easiest.</div><div><br data-mce-bogus="1"></div><div>I thought If I used a Makefile.inc in each directory that only had 'include ../Makefile.inc' I could then modify that inc as needed to add stuff that pertains to the children of that directory. The obvious issue of make in binutils would always be in binutils and ../Makefile.inc would loop because it does not change directory when including. Of course it looped and I get "too many open files". </div><div><br data-mce-bogus="1"></div><div>Is there a way I can do the files instead of links like I want to? </div><div><br data-mce-bogus="1"></div></div></body></html>