[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #37237] Second exapnsion with substitution confuse parser:
From: |
anonymous |
Subject: |
[bug #37237] Second exapnsion with substitution confuse parser: |
Date: |
Fri, 31 Aug 2012 15:14:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11 |
URL:
<http://savannah.gnu.org/bugs/?37237>
Summary: Second exapnsion with substitution confuse parser:
Project: make
Submitted by: None
Submitted on: Птн 31 Авг 2012 15:14:56
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
Example:
.SECONDEXPANSION:
dir/hello.o: $$(@F:.o=.c)
@echo $(@F:.o=.c)
Run:
make -f CCC.mk
Output:
CCC.mk:2: *** target pattern contains no `%'. Stop.
Expected result:
dir/hello.o depends on hello.c
This snipped:
dir/hello.o: $$(@F:.o=.c)
should be equivalent to:
dir/hello.o: $$(patsubst %.c,%.o,$$(@F))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37237>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #37237] Second exapnsion with substitution confuse parser:,
anonymous <=