From: H.G. Muller Date: Sat, 9 Jan 2010 10:54:20 +0000 (+0100) Subject: Make WinBoard makefiles use parser.c in XBoard directory X-Git-Tag: v4.4.3.20100118~5 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=bb10d6f4ddd41653d627df3f83045c1dcf3aa323;p=xboard.git Make WinBoard makefiles use parser.c in XBoard directory --- diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index f55c683..7da66fd 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 fecc5f7..63030ce 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 wgamelist.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