%% Noel Yap <[EMAIL PROTECTED]> writes:

  ny> I'd like to use a pattern rule to build a target, but I'd also
  ny> like to add an order dependency.  For example:

  ny> %/.:
  ny>   mkdir -p $@

  ny> %.cc %.h: %.y
  ny>   $(BisonRule)

  ny> $(DIR)/my.cc: | $(DIR)/.
  ny> $(DIR)/my.h: | $(DIR)/.

  ny> Is this possible?  If not, would it make sense to make it possible?

Offhand I'd say this should work.

I assume, since you're asking, that it doesn't?

-- 
-------------------------------------------------------------------------------
 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://mail.gnu.org/mailman/listinfo/help-make

Reply via email to