Hi everyone,

my programme has the following folder-structure

My problem: If I run make, I have the error, that a header file, which is
inside
my include folder can not be found. My configure.ac is attached.

main.c
     subfolder: -src
             subfolder: error
             subfolder: types
     subfolder: include    <---- the file that can't be found is here
             subfolder:error
             subfolder:types

I have Makefile.am in every folder.

content of the main Makefile.am

bin_PROGRAMS = GTspi

# Makefile.am im Unterverzeichnis
SUBDIRS = src src/types src/error include include/error include/types
##SUBDIRS = src
# Projektname

# Alle C-Dateien dieses Projekts angeben
GTspi_SOURCES = main.c

content of the sub Makefile.am

bin_PROGRAMS = GTspi

GTspi_SOURCES = gtspiContext.c gtspiTPM.c

Attachment: configure.ac
Description: Binary data

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to