Follow-up Comment #4, bug #38945 (project make):
Here's a minimal testcase to reproduce this bug.
Put the following in "Makefile" (Unix or DOS linebreaks):
include snippet
define RULES
clean::
$(RM) $(OBJS) $(OBJS:.o=.d)
endef
$(eval $(RULES))
Put the following in "snippet" (DOS linebreaks):
OBJS = x86/cpu.o
There must not be an empty line after OBJS in "snippet", otherwise the bug
will not trigger.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38945>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make