automake
[Top][All Lists]
Advanced

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

include_HEADERS and all-am


From: jling
Subject: include_HEADERS and all-am
Date: Mon, 22 Dec 2003 22:01:58 -0500

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.

Why does make, now consider this a target to make?  I thought 
include_HEADERS just indicates where the header specified should be 
installed, during a "make install".  How do I get around this error?

Thanks,
John





reply via email to

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