eMake can emulate different make variants: GNU Make (gmake), gmake in a Cygwin environment, Microsoft NMAKE (nmake), and Symbian. It can also emulate Ninja. By default, --emake-emulation=<mode>
is set to gmake
, which supports a subset of GNU Make 3.81 (see Unsupported GNU Make Options and Features ).
The following modes are available:
Mode | Linux support | Windows support | Solaris support |
---|---|---|---|
gmake4.3 | Yes | Yes | Yes |
gmake4.2 | Yes | Yes | Yes |
gmake4.1 | Yes | Yes | Yes |
gmake4.0 | Yes | Yes | Yes |
gmake3.82 | Yes | Yes | Yes |
gmake | Yes | Yes | Yes |
gmake3.81 | Yes | Yes | Yes |
gmake3.80 | Yes | Yes | Yes |
gmake3.79.1 | Yes | Yes | Yes |
symbian | No | Yes | No |
nmake | No | Yes | No |
nmake8 | No | Yes | No |
nmake7 | No | Yes | No |
cygwin | No | Yes | No |
ninja | Yes | No | |
ninja1.7.2 | Yes | No |
You can rename emake.exe to nmake.exe , gmake.exe , and so on to change the emulation type for all builds automatically. See the --emake-emulation-table option in the “ eMake Command-Line Options, Variables, and Configuration File ” section. |
NMAKE Emulation Example
To use NMAKE, use the following option to set the emulation type:
--emake-emulation=nmake