[bug #28983] forcing a target matching a pattern rule shadows the rule's actions

2010-02-22 Thread Ilguiz Latypov
URL: Summary: forcing a target matching a pattern rule shadows the rule's actions Project: make Submitted by: ilgiz Submitted on: Mon 22 Feb 2010 03:35:05 PM EST Severity: 3 - Normal

[bug #28983] forcing a target matching a pattern rule shadows the rule's actions

2010-02-22 Thread Ilguiz Latypov
Additional Item Attachment, bug #28983 (project make): File name: force-build-of-a-target-matching-a-pattern-rule.mak Size:0 KB ___ Reply to this item at: _

[bug #28983] forcing a target matching a pattern rule shadows the rule's actions

2010-02-22 Thread Ilguiz Latypov
Follow-up Comment #1, bug #28983 (project make): The work-around, as I see it in one build system, is to add an extra dummy target, = ALWAYS-BUILD: ; file.o: ALWAYS-BUILD = Same with the explicit noisy target, ===

[bug #28983] forcing a target matching a pattern rule shadows the rule's actions

2010-02-22 Thread Ilguiz Latypov
Follow-up Comment #2, bug #28983 (project make): Correction: the semicolon at the end of the work-around lines should be removed because it assigned an empty set of actions to the artificial target. GNU make will complain if another rule assigns any actions to the same target, .PHONY: foo.o ;