[Top][All Lists]

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

Re: library dependency

From: Peter Johansson
Subject: Re: library dependency
Date: Wed, 04 Mar 2009 00:19:30 -0500
User-agent: Thunderbird (Macintosh/20081209)

Hello John,

John Wohlbier wrote:

mv -f .deps/lib1src.Tpo .deps/lib1src.Plo
make: *** No rule to make target `../lib2/', needed by `'.

Does automake allow for automatically building lib2 when make is typed
within lib1? If so, how is it done? If not, is this an unreasonable thing to
expect the dependencies to handle?

I see two solutions to this.

1) Move directory lib2 to be a SUBDIR of lib1

2) or add the following in lib2/


$(top_builddir)/lib1/ FORCE
 (cd $(top_builddir)/lib1 && $(MAKE) $(AM_MAKEFLAGS) )

If it is possible I would prefer 1) because 2) make the build slightly slower.


reply via email to

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