[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #26001] Evaluating eval expressions does not work for % type names
From: |
anonymous |
Subject: |
[bug #26001] Evaluating eval expressions does not work for % type names |
Date: |
Wed, 25 Mar 2009 23:42:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071010 Red Hat/3.0.1-1.el4 Firefox/3.0.1 |
URL:
<http://savannah.gnu.org/bugs/?26001>
Summary: Evaluating eval expressions does not work for %
type names
Project: make
Submitted by: None
Submitted on: Wed 25 Mar 2009 11:42:30 PM UTC
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
I have a situation where I have one to many compilation stage. Essentially, I
have one file that when "compiled"/loaded creates N number of output files.
Now , I have a makefile that I want to set up a dependency where if any of
those compiled files were older than the original then I want to re-compile
the original file and remake the N files over again.
So, what I did was create a simple reverse mapping function using the define
...endef expression.
However, I cannot apply this in a rule . For instance
file%: $(call reverseLookup,file%)
will fail. although this will not
FILE1: $(call reverseLookup,file1)
file%: $(FILE1)
And this works as well
FILE1: $(call reverseLookup,file1)
file%: $(FILE1)
@echo "Your dependency was $(call reverseLookup,$@)"
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26001>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #26001] Evaluating eval expressions does not work for % type names,
anonymous <=