Web Service Development Guide : PART V HydraExpress Reference : Chapter 22 Options for Compiling : The Default Generated Makefiles
The Default Generated Makefiles
The HydraExpress code generator creates a release makefile (makefile), a debug makefile (makefile_debug), and an include makefile (makefile.include) for compiling the generated code. Makefiles are generated in the top-level code generation directory, and additional makefiles are provided in each subdirectory, allowing you to build just the contents of a particular directory.
Here is an example of the makefile locations after generating code with the default options:
 
<project-directory>
makefile
makefile_debug
makefile.include
app\
makefile
makefile_debug
client\
makefile
makefile_debug
data\
makefile
makefile_debug
codegen\
makefile
makefile_debug
...
Makefiles are named simply makefile by default, although you may use the -makefilename name option if you wish to assign a makefile a specific name. See “Customizing the Name of a Makefile” .
Using the top-level makefile builds all components created by the generator for this project, depending on the selected options. For example, invoking the generator with the -noserver option creates makefiles that do not build server components.
The makefile.include file contains all makefile compiler and linker options. Edits to this file cascade down to all makefiles, allowing you to edit just one file instead of editing each makefile individually.
“Makefile Options” discusses options for generating makefiles.