Given the two following Makefile fragments
Makefile
define INCLUDE_template
ifneq ($(MAKECMDGOALS),clean)
-include $(1)
endif
endef
PROGRAMS := a
a_ABS_OFILES := osbasic.o
$(foreach prog_file,$(PROGRAMS),$(eval $(call
INCLUDE_template,$($(prog_file)_ABS_OFILES:.o=.d
o
This bug has been fixed in the source. You can find a patch attached to
bug # 1517 in Savannah.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http
Thanks for getting back to me so fast. Just after sending the last email I
found the 3.81beta which I assume has the patch included - at least it does
not exhibit the problem.
Jon Haswell
IBM Research
Tel 408 927 2074 Tie 457 2074
Fax 408 927 3030 Tie 457 3030
Robert Schiele <[EMAIL PROTECTE