From b4d803c875ad9528a1e0bb23e7956645b09492bb Mon Sep 17 00:00:00 2001 From: Couriersud Date: Mon, 3 Jan 2011 20:37:57 +0000 Subject: [PATCH] makedep now ignores "-include" which is used by sdlmame to include sdlprefix.h before all other includes. [Couriersud] --- src/build/makedep.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) {