Oh I beg your pardon, I was not aware of this feature. In that case, I am not qualified to answer your question.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brendan Heading Sent: Monday, October 03, 2011 1:08 AM To: [email protected] Subject: Re: Library linking >>However, this complains that it can't find "-lhello". > >The GNU make manual in the Chapter "Introduction to Makefiles", section "How >Make Works", explains that to process the target of a rule, make >first >recursively processes the prerequisites. In your case "-lhello" is a >prerequisite. make tried to process it - since such a file did not exist and >>there was no rule with such a file as a target, make could not process it and >bombed. Rewrite your rules so that they use only real files (or possibly >>phony files, after you study them in the manual), that either exist or make >knows how to make them recursively. Mark, I'm doing what it says in the manual : http://www.gnu.org/software/make/manual/html_node/Libraries_002fSearch.html#Libraries_002fSearch _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
