Use a combination of: >>> 1 >>> ABC_VAR = myfilename
include $(ABC_VAR) <<<<< >>> 2 >>> vpath %.mk <PATHNAME> include myinclude.mk <<<<< I didn't check <2>, but assuming vpath can be used there, it should work. FWIW, Johan Bezem CSK Software AG Yossi Itzkovich wrote: > > Hi, > > How can I use a mechanism like VPATH for include directives in Makefile? > or > How can I include a file which his name is decided during Makefile processing > (by make itself)? > > Thanks > > Yossi > > _______________________________________________ > Help-make mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/help-make _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
