Home > Articles > Operating Systems, Server

  • Print
  • + Share This

GNUstep Make

The GNUstep Make package contains a collection of GNU makefiles that provide skeletons for building GNUstep programs. This makes it relatively easy to build GNUstep applications from the command line. Following is a simple GNU makefile that would be used to build a simple command-line tool:

# Include the common variables defined by the Makefile Package
include $(GNUSTEP_MAKEFILES)/common.make
# Build a simple Objective-C program
TOOL_NAME = ExampleProgram
# The Objective-C files to compile
ExampleProgram_OBJC_FILES = Example.m
-include GNUmakefile.preamble
# Include in the rules for making command line tools
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble

The first and last few lines of this file just include the GNUstep Make rules. The only lines that are added are those specifying the name of the tool and the source files. There are other standard variable names defined for adding such things as C source files, frameworks, etc.

  • + Share This
  • 🔖 Save To Your Account

Related Resources

There are currently no related titles. Please check back later.