makedep now ignores "-include" which is used by sdlmame to include sdlprefix.h before all other includes. [Couriersud]

This commit is contained in:
Couriersud 2011-01-03 20:37:57 +00:00
parent 1719abcdbb
commit b4d803c875

View File

@ -187,6 +187,12 @@ int main(int argc, char *argv[])
}
}
/* ignore -include which is used by sdlmame to include sdlprefix.h before all other includes */
else if (strcmp(arg,"-include") == 0)
{
argnum++;
}
/* other parameter */
else if (arg[0] != '-' && unadorned == 0)
{