|
From: | Robert L Walton |
Subject: | [bug #27047] Difficulties defining prerequisites for pattern targets. |
Date: | Fri, 17 Jul 2009 10:18:59 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009040909 CentOS/3.0.7-1.el5.centos Firefox/3.0.7 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |