I have a directory structure like
Makefile.am
Configure.ac
src/
hello.c
Makefile.am
include/
hello.h
How to specify the include path in Makefile.am of src so that it includes header files from include/ dir as well as c file depends on header file. So if I modify any .h file it force to recompile .cc file.
Defining AM_CPPFLAGS' is giving warning
configure.ac:5: warning: macro `AM_CPPFLAGS' not found in library