summaryrefslogtreecommitdiffstatshomepage
path: root/src/build
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2011-01-03 20:37:57 +0000
committer Couriersud <couriersud@users.noreply.github.com>2011-01-03 20:37:57 +0000
commitb4d803c875ad9528a1e0bb23e7956645b09492bb (patch)
tree80fdd321a2521acaa5411f1c3d5961e4f5344d46 /src/build
parent1719abcdbbf840e7e88168f914987ac40e4b2c33 (diff)
makedep now ignores "-include" which is used by sdlmame to include sdlprefix.h before all other includes. [Couriersud]
Diffstat (limited to 'src/build')
-rw-r--r--src/build/makedep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build/makedep.c b/src/build/makedep.c
index 7f0e41b34c8..8f9fc7230be 100644
--- a/src/build/makedep.c
+++ b/src/build/makedep.c
@@ -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)
{