automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems getting dependencies compiled before executable....


From: Alexandre Duret-Lutz
Subject: Re: Problems getting dependencies compiled before executable....
Date: Wed, 18 Jun 2003 19:05:39 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>> "Assar" == Assar Westerlund <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]