Follow-up Comment #2, bug #29104 (project make):
hi Tim,
thanks for the clarification!
> This is reasonably sensible - since not all exes in the entire universe
really to link to libm.
No, but in other cases it may be useful. Suppose you compile a separate
profiling-enabled version of each executable and link in some profiling
support library. Then you would like to write
%.exe: %.c
$(BUILD_CMD)
%.prof.exe: CFLAGS += -DENABLE_PROF
%.prof.exe: -lmyprof
Best,
Misha
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29104>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make