A user has complained about Makefiles that broke when we updated from
make-8.31 to make-3.82, demonstrated by this sample Makefile:
====================================
define ShowTargets
echo "Hello World!"
endef
.PHONY : Help
Help %::
@$(ShowTargets)
====================================
As I understand it, this is intended to catch the unspecifed target and
print the help message. When make-3.81 is used by running "make" it prints
Hello World!
but 3.82 prints
Makefile:7: *** mixed implicit and normal rules. Stop.
I don't understand this well enough to know which is the correct behavior
or what the error message is trying to tell me. Is 3.82 working
as expected? Is there some more "correct" way to accomplish the same
result?
Thanks!
--
Peter Fales
Alcatel-Lucent
Member of Technical Staff
1960 Lucent Lane
Room: 9H-505
Naperville, IL 60566-7033
Email: [email protected]
Phone: 630 979 8031
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make