%% Ernest <[EMAIL PROTECTED]> writes:

  e> "Paul D. Smith" <[EMAIL PROTECTED]> wrote in 

  e> True, true.  And I have to support a version of make that doesn't
  e> feature the $(eval) function (Rational's clearmake in GNU compat
  e> mode), unfortunately.  I can't even use the $(if) function.  Nor
  e> $(call).

Oh.  Clearmake.  You're screwed.

  e> Any idea on a clean way to approach this?  I'd rather not have to
  e> generate makefiles on the fly to do it, but if that's the only way
  e> (without $(eval), $(if), etc.), I can look into that.

If you're restricted to the capabilities of clearmake -C gnu, then you
have no chance.  You'll have to generate makefiles.  And, clearmake
doesn't support GNU make's auto-re-exec method so you'll have to
actually do this by invoking clearmake twice, explicitly.

Sorry.  Be sure to thank your friendly neighborhood ClearCase support
rep.

-- 
-------------------------------------------------------------------------------
 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-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to