On Tue, 2006-12-26 at 00:38 -0800, Nirusha & Dushara Jayasinghe wrote:

> %.d: $(@:$(OBJ)/%.d=$(SRC)/%.c)

I don't know about the exact symptoms you're seeing but this rule is
wrong.  You cannot use $@ in a prerequisite list: that is an automatic
variable and automatic variables only have a value in the command
script, not in the prerequisites list.

See automatic variables in the GNU make manual.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to