char * CopyValidateMakefilePath(char * path)
{
- const int map[] = { 0, 1, 2, 3, 4, 0, 1, 7 };
- const char * vars[] = { "$(MODULE)", "$(CONFIG)", "$(PLATFORM)", "$(COMPILER)", "$(TARGET)", "$(PROJECT)", "$(CONFIGURATION)", (char *)0 };
+ const int map[] = { 0, 1, 2, 3, 4, 5, 6, 0, 1, 7 };
+ const char * vars[] = { "$(MODULE)", "$(CONFIG)", "$(PLATFORM)", "$(COMPILER)", "$(TARGET)", "$(COMPILER_SUFFIX)", "$(DEBUG_SUFFIX)", "$(PROJECT)", "$(CONFIGURATION)",(char *)0 };
char * copy = null;
if(path)
d += strlen(compilerName);
c = i;
}
+ else if(!strnicmp(&expr[c + 2], "Debug_Suffix", n))
+ {
+ // We don't support .debug from the IDE yet...
+ c = i;
+ }
+ else if(!strnicmp(&expr[c + 2], "Compiler_Suffix", n))
+ {
+ if(compilerName[0] && strcmpi(compilerName, "default"))
+ {
+ buffer[d] = '.';
+ buffer[d+1] = '\0';
+ strcat(buffer, compilerName);
+ CamelCase(&buffer[d]);
+ d += strlen(compilerName)+1;
+ c = i;
+ }
+ else
+ c = i;
+ }
else
{
buffer[d++] = expr[c];