const char * PlatformToMakefileTargetVariable(Platform platform)
{
- return platform == win32 ? "WINDOWS_TARGET" :
- platform == tux ? "LINUX_TARGET" :
- platform == apple ? "OSX_TARGET" :
- "ERROR_BAD_TARGET";
+ return platform == win32 ? "WINDOWS_TARGET" :
+ platform == tux ? "LINUX_TARGET" :
+ platform == apple ? "OSX_TARGET" :
+ platform == emscripten ? "EMSCRIPTEN_TARGET" :
+ platform == pnacl ? "PNACL_TARGET" :
+ "ERROR_BAD_TARGET";
}
const char * TargetTypeToMakefileVariable(TargetTypes targetType)