makedepend now ignores "-D" defines as well.
This commit is contained in:
parent
34508e8ce8
commit
a179f1be7f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user