[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: include_HEADERS and all-am
From: |
jling |
Subject: |
Re: include_HEADERS and all-am |
Date: |
Tue, 23 Dec 2003 14:27:53 -0500 |
Hi Andreas, yes I did try that as well. In that case, I got:
*** No rule to make target `all'. Stop.
John
----- Original Message -----
From: Andreas Schwab <address@hidden>
Date: Tuesday, December 23, 2003 7:36 am
Subject: Re: include_HEADERS and all-am
> address@hidden writes:
>
> > Given my Makefile.am:
> >
> > AM_CPPFLAGS = -I$(srcdir)/../inc
> > lib_LIBRARIES = libtest.a
> > libtest_a_SOURCES = test.cpp test.hpp
> >
> > This works fine.
> >
> > Now I add to the end of that:
> > include_HEADERS = test.hpp
> >
> > Now I get a make error:
> >
> > make[2]: *** No rule to make target 'test.hpp', needed by `all-
> am'.
> > Stop.
>
> Try moving include_HEADERS into ../inc/Makefile.am.
>
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, address@hidden
> SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
>
>