%% Henning Makholm <[EMAIL PROTECTED]> writes:

Thanks Henning.

  hm> If your $(BINFILES) live in different directories, I dont think
  hm> there's any way to get around writing separate rules for each
  hm> directory (save for some kind of clever abuse of the new $(eval
  hm> ...)  function in 3.80

Not abuse; this kind of thing is exactly why $(eval ...) exists :).

It's basically a way to perform operations within make itself that would
otherwise require recursion, either explicit or implicit (via the
auto-re-exec feature).

It's also a prerequisite (perhaps...) to integrating Guile as an
extension language for make; one potential way for this to work is to
create a $(guile ...) function; then you might do something like:

  $(eval $(guile (some guile code here...)))

where the Guile code returned some makefile content.  Or something.  How
this might work in real life needs more thought :).

-- 
-------------------------------------------------------------------------------
 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


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to