X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fmakefile.gcc;h=77fc0b97290c862b5c9637e81df29d8013b1bca0;hb=95244a1c40718e9ad8bda9e2df66677e180354d6;hp=db65a6790b11932124bd29c6b3993e640ed75b94;hpb=5033c2869efc97a90075c0d72cc574859a70f854;p=xboard.git diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index db65a67..77fc0b9 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -63,10 +63,7 @@ clean: # Update the help file if necessary $(PROJ).hlp : $(PROJ).rtf - $(HC) $(PROJ).hpj - @cat $(PROJ).err - @mv $(PROJ).hlp tmp.hlp - @mv tmp.hlp $(PROJ).hlp # these moves to get the case right + $(HC) $(PROJ).hpj && @cat $(PROJ).err && @mv $(PROJ).hlp tmp.hlp && @mv tmp.hlp $(PROJ).hlp || true # these moves to get the case right # Update the resource if necessary @@ -74,13 +71,6 @@ wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@ -# 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) -o../parser.c -L ../parser.l - - $(PROJ).exe: $(OBJS) $(PROJ).hlp $(CC) $(guiflags) $(OBJS) $(LFLAGS) -o $(PROJ).exe