bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19122] $* doesn't work as expected


From: anonymous
Subject: [bug #19122] $* doesn't work as expected
Date: Thu, 22 Feb 2007 08:25:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]