[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with dependencies
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Problem with dependencies |
Date: |
Tue, 02 Mar 2004 09:08:17 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "wolff" == wolff <address@hidden> writes:
[...]
wolff> libs/libA/Makefile.am
wolff> SUBDIRS = example
wolff> noinst_LIBRARIES = libA.a
wolff> libA_a_SOURCES = a.cpp b.cpp
wolff> libs/libA/example/Makefile.am
wolff> noinst_PROGRAMS = libAtest
wolff> libAtest_SOURCES = libAtest.cpp
wolff> libAtest_LDADD = $(top_builddir)/libs/libA/libA.a
[...]
wolff> * No rule to make target: ../../../libs/libA/libA.a
wolff> Anyone got a hint?
You need to build libA.a before libAtest. See in the
documentation of SUBDIRS how you can control when the current
directory is built (with `.').
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Problem with dependencies,
Alexandre Duret-Lutz <=