>>> "Assar" == Assar Westerlund <[EMAIL PROTECTED]> writes:

[...]

 Assar> bar/libbar.la:
 Assar>         cd bar && $(MAKE) libbar.la

Unless you declare this rule as PHONY (or list all the
dependencies of bar/libbar.la and the dependencies thereof) this
introduces a bug in the case the library already exists.  Your
program will be linked to the old library, and then the library
will be rebuilt when make enter the subdirectory as part of the
SUBDIRS recursion.
-- 
Alexandre Duret-Lutz



Reply via email to