I've enclosed a tarball of a sample makefile hierarchy.
This is the output from GNU make-3.79:
nyap:jpmpsdev@jpmpsdev1:~/proj/bugs/depends|nyap-classpath-du> make
Makefile:4: warning: overriding commands for target `target'
package.mk:9: warning: ignoring old commands for target `target'
a/package.mk b/package.mk
AFAIK, the output should be:
nyap:jpmpsdev@jpmpsdev1:~/proj/bugs/depends|nyap-classpath-du> clearmake -C gnu
a/package.mk b/package.mk c/package.mk
I haven't looked through the code, so I'm not sure what's causing this problem.
Any help with this (specially a patch) would be appreciated.
Thanks,
Noel
Enc
(See attached file: depends.tgz)
depends.tgz