Only adjust fonts that are actually changed
[xboard.git] / winboard / makefile.gcc
index db65a67..77fc0b9 100644 (file)
@@ -63,10 +63,7 @@ clean:
 \r
 # Update the help file if necessary\r
 $(PROJ).hlp : $(PROJ).rtf\r
-       $(HC) $(PROJ).hpj\r
-       @cat $(PROJ).err\r
-       @mv $(PROJ).hlp tmp.hlp\r
-       @mv tmp.hlp $(PROJ).hlp # these moves to get the case right\r
+       $(HC) $(PROJ).hpj && @cat $(PROJ).err && @mv $(PROJ).hlp tmp.hlp && @mv tmp.hlp $(PROJ).hlp || true # these moves to get the case right\r
 \r
 \r
 # Update the resource if necessary\r
@@ -74,13 +71,6 @@ wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h
        windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@\r
 \r
 \r
-# note: cygwin flex needs m4 package.  cygwin-setup forgets this dependency\r
-# note2: use mingw flex instead... although I got cygwin's flex working (with m4),\r
-#        it didn't produce a useable parser.c (1000's of errors)\r
-../parser.c: ../parser.l\r
-       $(FLEX) -o../parser.c -L ../parser.l\r
-\r
-\r
 $(PROJ).exe: $(OBJS) $(PROJ).hlp\r
        $(CC) $(guiflags) $(OBJS) $(LFLAGS) -o $(PROJ).exe\r
 \r