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/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to