Re: include should be relative to current Makefile

2012-05-16 Thread Ed H
> > From: Edward Welbourne >To: Ed H >Cc: bug-make@gnu.org >Sent: Wednesday, May 16, 2012 1:21 AM >Subject: Re: include should be relative to current Makefile > >> ifndef TOP >> >> include ../Makefile >> >> else >> >> SUBDIRS = >> TARGETS = >> SRCS = >> >>

Re: include should be relative to current Makefile

2012-05-16 Thread Edward Welbourne
> ifndef TOP > > include ../Makefile > > else > > SUBDIRS = > TARGETS = > SRCS = > > endif > > All of the complexity you allude to can be safely buried in the TOP-level > Makefiles, I can't help but think this is an entirely upside-down approach. You appear to be expecting context's make-file