[EMAIL PROTECTED] 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, [EMAIL PROTECTED]
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