From 49f8186677c2d1a3a329d4da8c0704d3e034e320 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 9 Jan 2010 11:54:20 +0100 Subject: [PATCH] Make WinBoard makefiles use parser.c in XBoard directory --- winboard/makefile.gcc | 6 +++--- winboard/makefile.ms | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index 27cebc0..6bb84c8 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -77,8 +77,8 @@ wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h # note: cygwin flex needs m4 package. cygwin-setup forgets this dependency # note2: use mingw flex instead... although I got cygwin's flex working (with m4), # it didn't produce a useable parser.c (1000's of errors) -parser.c: ../parser.l - $(FLEX) -oparser.c -L ../parser.l +../parser.c: ../parser.l + $(FLEX) -o../parser.c -L ../parser.l $(PROJ).exe: $(OBJS) $(PROJ).hlp @@ -94,7 +94,7 @@ backend.o: ../backend.c config.h ../common.h ../frontend.h ../backend.h \ ../parser.h ../moves.h ../zippy.h ../backendz.h ../gettext.h ../lists.h $(call compile, $<) -parser.o: parser.c config.h ../common.h ../backend.h ../parser.h \ +parser.o: ../parser.c config.h ../common.h ../backend.h ../parser.h \ ../frontend.h ../moves.h ../lists.h $(call compile, $<) diff --git a/winboard/makefile.ms b/winboard/makefile.ms index 4a26ca6..ca127b5 100644 --- a/winboard/makefile.ms +++ b/winboard/makefile.ms @@ -87,8 +87,8 @@ $(PROJ).hlp : $(PROJ).rtf $(PROJ).res: $(PROJ).rc $(PROJ).h resource.h config.h $(RC) $(CF) -r -fo $(PROJ).res $(PROJ).rc -parser.c: ../parser.l - $(FLEX) -oparser.c -L ../parser.l +../parser.c: ../parser.l + $(FLEX) -o../parser.c -L ../parser.l winboard.obj: winboard.c config.h winboard.h ../common.h ../frontend.h \ ../backend.h ../moves.h defaults.h resource.h wclipbrd.h \ @@ -99,7 +99,7 @@ backend.obj: ../backend.c config.h ../common.h ../frontend.h ../backend.h \ ../parser.h ../moves.h ../zippy.h ../backendz.h ../gettext.h ../lists.h $(CC) $(CFLAGS) ../backend.c -parser.obj: parser.c config.h ../common.h ../backend.h ../parser.h \ +parser.obj: ../parser.c config.h ../common.h ../backend.h ../parser.h \ ../frontend.h ../moves.h ../lists.h $(CC) $(CFLAGS) parser.c -- 1.7.0.4