bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #51292] Handling make rules where prerequisites are determined by f


From: Markus Elfring
Subject: [bug #51292] Handling make rules where prerequisites are determined by functions for specific targets lists
Date: Sun, 2 Jul 2017 13:18:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #7, bug #51292 (project make):

> If you want a "callback"-like setup you can already do it with eval and
call:

This approach might be an approximation which can work as usual for a while.


> Personally I'm not convinced this is useful in general...

I dared to propose a software extension which can be similar to the
functionality “static pattern rules”.
Under which circumstances can the generic variant move into the standard
functions?


> But if you had one set of global makefiles that defined all the templates,
etc. then used data-driven variable assignments to do the rest I suppose it
might be useful.

Thanks that you can follow in this software design direction.

I imagine that make rule construction can become more dynamic.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]