When I have a prereq "-lcurses" make will search for the library and find it
e.g. in /usr/lib/libcurses.so.
make -d reports
Considering target file `-lcurses'.
Looking for an implicit rule for `-lcurses'.
Trying pattern rule with stem `-lcurses'.
Trying implicit prerequisite `-lcurses.o'.
.......
Looking for a rule with intermediate file `-lcurses.o'.
etc.
I would have thought that once having found a real path
of /usr/lib/libcurses.so it would use this as the target when searching for
implicit rules ie
Looking for a rule with intermediate file `/usr/lib/libcurses.so'.
Is this a bug? The manual is not clear how make should behave in this case.
--
Anthony Shipman Mamas don't let your babies
[email protected] grow up to be outsourced.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make