## 25 Creating a project.

### 25.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

### 25.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

### 25.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