[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6. Creating a project.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.0.1 Creating a makefile

Creating a GNUmakefile for a GDL2 Project is done throught he well documented gnustep-make makefile system.

they are standard GNUmakefiles but you’ll need to include a special file – gdl2.make after common.make

E.g.

 
include $(GNUSTEP_MAKEFILES)/common.make
include $(GNUSTEP_MAKEFILES)/Auxiliary/gdl2.make

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.0.2 Adding Resource Files

Make sure you add your .eomodel or .eomodeld file to your projects resources

 
APP_NAME=foo
foo_RESOURCE_FILES=foo.eomodeld

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.0.3 A complete GNUmakefile

 
include $(GNUSTEP_MAKEFILES)/common.make
include $(GNUSTEP_MAKEFILES)/Auxiliary/gdl2.make

TOOL_NAME=eoexample
eoexample_OBJC_FILES=eoexample.m
eoexample_RESOURCE_FILES=library.eomodel
include $(GNUSTEP_MAKEFILES)/tool.make

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by root on May 20, 2013 using texi2html 1.82.