[Top][All Lists]

[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: Thu, 22 Jun 2017 15:50:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

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

Another example by Mike Gran:

demo: $(guile (root->list-of-objects "demo"))
        $(CC) $(LDFLAGS) -o $@ $^

You showed an other interesting use case. It seems that only simple input file
dependencies would be constructed.
I guess that the concrete function parameter "demo" can also be replaced by a
corresponding variable reference.

It fits only partly to the proposed software extension which should perform
generation of make rules similar to static pattern rules.

I imagine that it will become a general software development challenge to
achieve consensus for the required parameters of such callback functions (and
the corresponding notation).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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