autogen: mixing C and C++
i'm a newbie to autogen and only a novice in Makefiles. i've been searching google for good documentation, but most assume certain previous knowledge. the complications that i've run into deal with combining the my C++ code with gtk-2. glade-2 generates a set of autogen scripts that is fit to compile with C code but not with C++ code. for example, the following Makefile.am does not work with my current configuration.
INCLUDES = \
-I../../enchant_ipc/include -I../../signalcore
zreccon_SOURCES = \
main.c \
support.c support.h \
interface.c interface.h \
callbacks.c callbacks.h \
my-code.cpp my-cde.hpp
...because the contents of the INCLUDE'ed "signalcore" directory is based on C++. Can I get an idea of what I must change in configure.ac? Any documentation would help as well. Thanks!
|