On 2006-09-07 14:49:25 +0200 Marko Riedel <markoriedelde@yahoo.de>
wrote:
[...]
> I am looking for a beginner's tutorial on building GNUstep projects
> that
> mix C++ and Objective C, preferably with a section on writing
> GNUmakefiles. What projects have been written with this combination? I
> would like to see some source code to get a feel for how it's done.
Haven't seen one, but you can specifiy
FOOBAR_NAME denotes your (sub)project's name
${FOOBAR_NAME}_C_FILES = $(wildcard *.c)
${FOOBAR_NAME}_CC_FILES = $(wildcard *.cc)
${FOOBAR_NAME}_OBJC_FILES = $(wildcard *.m)
${FOOBAR_NAME}_OBJCC_FILES = $(wildcard *.mm)
If you want to mix C++ with ObjC, or use ObjC++ you will use the
latter.
Note that mixing won't work with GCC < 4.x