automake
[Top][All Lists]
Advanced

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

Re: include_HEADERS and all-am


From: Andreas Schwab
Subject: Re: include_HEADERS and all-am
Date: Tue, 23 Dec 2003 13:36:23 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

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."




reply via email to

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