%% Ronald Landheer-Cieslak <[EMAIL PROTECTED]> writes:

  rl> %.d : $(srcdir)/$(subst .d,.c,$@)
  rl>   blah

  rl> $@, however, is empty here (as the docs duely indicate).

Why not just use the obvious:

    %.d : $(srcdir)/%.c

?  That's what pattern rules are for, after all...

-- 
-------------------------------------------------------------------------------
 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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to