Web Service Development Guide : PART V HydraExpress Reference : Chapter 22 Options for Compiling : Procedure for Building with the Makefiles
Procedure for Building with the Makefiles
This section describes how to build your application from the command line. If you are on Windows, you can also build the sample application using the generated solution (MSVC) file, as described in “Using MSVC Project Files”.
NOTE >> Make sure that you have set up your environment as described in Chapter 2, “Setup,” in the HydraExpress User Guide. On Windows, be sure you have set up your command window with the MSVC environment.
From the output, or code generation directory, simply run nmake (Windows) or make (Linux or UNIX) at the command prompt.
The project-level makefile builds any components created when the generator created the makefile. For example, invoking the generator with the ‑noserver option creates a makefile that does not build server components.
Building just a Client or Server
Top-level makefiles are generated with a target for the client or server, so you can easily build each separately if you wish. Just invoke the makefile as follows:
Windows
nmake client //builds client only
nmake server //builds server only
UNIX/Linux
make client
make server
Location of Generated Libraries and Binary Files
The generated binary and library files are placed into top-level directories depending on your platform, as follows:
<project-directory>/
    lib/
On Windows: .lib files
On UNIX/Linux: shared library (.so) files
    bin/
On Windows: .exe, .dll and .manifest files
On UNIX/Linux: executable files
For each sub-directory, object files are placed into a special obj directory. For example:
 
project-directory/
app/
client/
obj/
server/
obj/
...