URL:
<http://savannah.gnu.org/bugs/?19122>
Summary: $* doesn't work as expected
Project: make
Submitted by: None
Submitted on: Thursday 02/22/2007 at 08:25 UTC
Severity: 3 - Normal
Item Group: Bug
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:
$* doesn't work for me - it returns empty string, while using in this way:
[code]
all: app.bin
app.bin:
touch $@
echo \$$* = $*
[/code]
When I run this Makefile, GNU Make 3.81 gives following output:
[output]
touch app.bin
echo \$* =
$* =
[output]
However, clearmake gives following (expected by me) result:
[output]
touch app.bin
echo \$* = app
$* = app
[/output]
$(*D) and $(*F) variables also return empty string in GNU Make.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19122>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make