updates makefiles to include dependency on config.h
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 28 Nov 2009 21:32:12 +0000 (13:32 -0800)
committerArun Persaud <arun@nubati.net>
Sat, 28 Nov 2009 21:32:12 +0000 (13:32 -0800)
adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource

winboard/makefile.gcc
winboard/makefile.ms

index e8a7e99..f55c683 100644 (file)
@@ -70,7 +70,7 @@ $(PROJ).hlp : $(PROJ).rtf
 \r
 \r
 # Update the resource if necessary\r
-wbres.o: $(PROJ).rc $(PROJ).h resource.h\r
+wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h\r
        windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@\r
 \r
 \r
index 10c95fd..fecc5f7 100644 (file)
@@ -84,7 +84,7 @@ $(PROJ).hlp : $(PROJ).rtf
 \r
 \r
 # Update the resource if necessary\r
-$(PROJ).res: $(PROJ).rc $(PROJ).h resource.h\r
+$(PROJ).res: $(PROJ).rc $(PROJ).h resource.h config.h\r
     $(RC) $(CF) -r -fo $(PROJ).res $(PROJ).rc\r
 \r
 parser.c: ../parser.l\r