From: H.G. Muller Date: Sat, 28 Nov 2009 21:32:12 +0000 (-0800) Subject: updates makefiles to include dependency on config.h X-Git-Tag: v4.4.2~5 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=0a1090546ff3f7af136e33eb4fd636b1e5d5178b updates makefiles to include dependency on config.h adds the dependency of wbres.o on config.c introduced by having the VersionInfo in the resource --- diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index e8a7e99..f55c683 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -70,7 +70,7 @@ $(PROJ).hlp : $(PROJ).rtf # Update the resource if necessary -wbres.o: $(PROJ).rc $(PROJ).h resource.h +wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@ diff --git a/winboard/makefile.ms b/winboard/makefile.ms index 10c95fd..fecc5f7 100644 --- a/winboard/makefile.ms +++ b/winboard/makefile.ms @@ -84,7 +84,7 @@ $(PROJ).hlp : $(PROJ).rtf # Update the resource if necessary -$(PROJ).res: $(PROJ).rc $(PROJ).h resource.h +$(PROJ).res: $(PROJ).rc $(PROJ).h resource.h config.h $(RC) $(CF) -r -fo $(PROJ).res $(PROJ).rc parser.c: ../parser.l