makedepend now ignores "-D" defines as well.

This commit is contained in:
Couriersud 2013-12-01 20:49:09 +00:00
parent 34508e8ce8
commit a179f1be7f

View File

@ -144,6 +144,12 @@ int main(int argc, char *argv[])
argnum++;
}
else if (arg[0] == '-' && arg[1] == 'D')
{
// some pkgconfigs return defines (e.g. pkg-config QtGui --cflags) ==> ignore
argnum++;
}
// ignore -include which is used by sdlmame to include sdlprefix.h before all other includes
else if (strcmp(arg,"-include") == 0)
{