URL: <http://savannah.gnu.org/bugs/?27047>
Summary: Difficulties defining prerequisites for pattern targets. Project: make Submitted by: walton Submitted on: Fri 17 Jul 2009 10:18:57 AM GMT Severity: 3 - Normal Item Group: Enhancement Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: POSIX-Based Fixed Release: None _______________________________________________________ Details: Implicit rules with a pattern target are NOT recognized if they have no commands. This means they cannot be used to define prerequisites. I.e. test1%.out:<tab>test1 does'nt do anything. Also test1%.out:<tab>TEST=test1 test%.out:<tab>${TEST} fails because target specific variables cannot be used in prerequisite list. Something should be done to make this so users don't get trapped by it an have to waste a lot of time figuring all this out. Perhaps a pattern rule with no commands could give a warning message, at a minimum. It would be nice if target specific variables could appear in prerequisites. ~ _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27047> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make