[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in gnu make?
From: |
Hans-Bernhard Broeker |
Subject: |
Re: Error in gnu make? |
Date: |
9 Mar 2002 16:25:57 GMT |
j <address@hidden> wrote:
[...]
> $(filename): %.out : %/%.in
[...]
> make: *** No rule to make target `a/%.in', needed by `a.out'. Stop.
> question 1- Is this a bug? Or am I just misunderstanding something?
I think you're misunderstanding something. % is substituted only once
per prerequisite pattern.
> question 2- Does anyone have a temporary solution for me....
I would work around this by calling the *.in files differently.
a/subdir.in
b/subdir.in
c/subdir.in
come to mind. In this setup, a rule like
$(filenames): %.out : %/subdir.in
would work. Or use recursive makes.
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.
- Error in gnu make?, j, 2002/03/08
- Re: Error in gnu make?,
Hans-Bernhard Broeker <=
- Re: Error in gnu make?, j, 2002/03/11
- Re: Error in gnu make?, Paul D. Smith, 2002/03/11
- Re: Error in gnu make?, Andreas Schwab, 2002/03/11
- Re: Error in gnu make?, j, 2002/03/13
- Re: Error in gnu make?, Hans-Bernhard Broeker, 2002/03/13
- Re: Error in gnu make?, Paul D. Smith, 2002/03/13