[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #51292] Handling make rules where prerequisites are determined by f
From: |
Paul D. Smith |
Subject: |
[bug #51292] Handling make rules where prerequisites are determined by functions for specific targets lists |
Date: |
Sun, 2 Jul 2017 15:30:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #8, bug #51292 (project make):
> 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?
I don't see any need to move something like this "into the standard
functions". If you want to be able to define a rule using a function syntax
instead of a normal recipe syntax you can do this today with something like:
basic_rule = $1 : $2 ; $3
$(eval $(call basic_rule,target,prereq1 prereq2,recipe))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/