[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to define rule of rules?
From: |
Martin Mensch |
Subject: |
Re: How to define rule of rules? |
Date: |
Sun, 2 May 2010 12:37:09 +0200 |
Hello Peng Yu,
I found this $(eval$(call ...)) very interesting too and there is a simply
example that generates rules in the make docomentation chapter 8.6 (call)
and 8.8 (eval).
Hope this helps you
Martin
----- Original Message -----
From: Stephan Beal
To: Peng Yu
Cc: make-help mailing list
Sent: Sunday, May 02, 2010 3:20 AM
Subject: Re: How to define rule of rules?
On Sun, May 2, 2010 at 2:11 AM, Peng Yu <address@hidden> wrote:
I don't understand the above code. Would you give me the minimal code
for the scenario that mentioned in my first email?
Sorry, but i thought that's exactly what i did. i'm not going to rewrite it
for you to 100% match your use-case, but the pattern demonstrated there is
one way to solve the problem you asked about:
$(eval $(call png_rule,foo.R))
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make