Re: include should be relative to current Makefile

2012-05-15 Thread Ed H
> >By the same logic, one can use a (module-specific) variable meaning >"here" in each sub-directory's make-file fragments; so foo/config.mk >refers to its source files as $(FOOSRC)/bar.c and so on, rather than >assuming FOOSRC=. (although that likely remains th

Re: include should be relative to current Makefile

2012-05-15 Thread Edward Welbourne
> I think changing gmake's behavior to match cpp's will eliminate the > need for a lot of hacky farting around to get non-recursive systems > working smoothly. I can sympathise. The present behaviour effectively requires one to cd to (or pass a -C for) the directory of a make file in order to