|
| From: | Misha |
| Subject: | [bug #29104] Directory Search for Link Libraries doesn't work in implicit rules |
| Date: | Sun, 07 Mar 2010 08:47:41 +0000 |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) |
URL:
<http://savannah.gnu.org/bugs/?29104>
Summary: Directory Search for Link Libraries doesn't work in
implicit rules
Project: make
Submitted by: tari3x
Submitted on: Sun Mar 7 08:47:40 2010
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: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
This works:
BUILD_CMD = $(CC) $^ -o $@
all: main.exe
main.exe: main.c -lm
$(BUILD_CMD)
This doesn't:
BUILD_CMD = $(CC) $^ -o $@
all: main.exe
%.exe: %.c -lm
$(BUILD_CMD)
I would expect both versions to do the same.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29104>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |