I have a directory structure like
Makefile.am Configure.ac src/ hello.c Makefile.am include/ hello.h
How to specify the inclusion path in Makefile.am src so that it includes header files from include / dir, and the c file depends on the header file. Therefore, if I modify any .h file, this forces me to recompile the .cc file.
The definition of AM_CPPFLAGS 'gives a warning
configure.ac:5: warning: macro `AM_CPPFLAGS' not found in library
autotools
Vivek goel
source share