Add msimg32 library to makefile.gcc for WinBoard build
[xboard.git] / winboard / makefile.gcc
index fcf842f..92c2a6d 100644 (file)
@@ -50,7 +50,7 @@ else
 endif\r
 CF = -c $(WARN) -pipe $(CFDEBUG) $(DEFS) -I. -I..\r
 CFLAGS = $(CF) $(ARCH) $(OPTS) $(CFCYG)\r
-LFLAGS = $(LFCYG) $(CFDEBUG) -fpic -s -mwindows -lwsock32 -lwinmm -lcomctl32\r
+LFLAGS = $(LFCYG) $(CFDEBUG) -fpic -s -mwindows -lwsock32 -lwinmm -lcomctl32 -lmsimg32\r
 \r
 all: $(PROJ).exe\r
 \r
@@ -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