Remove stray dot from WinBoard makefiles
[xboard.git] / winboard / makefile.gcc
index c130416..49bcede 100644 (file)
@@ -6,7 +6,7 @@ PROJ=winboard
 \r
 OBJS=backend.o book.o gamelist.o lists.o moves.o pgntags.o uci.o zippy.o\\r
  parser.o wbres.o wclipbrd.o wedittags.o wengineoutput.o wevalgraph.o\\r
- wgamelist.o whistory.o winboard.o wlayout.o woptions.o wsnap.o\\r
+ wgamelist.o whistory.o history.o winboard.o wlayout.o woptions.o wsnap.o\\r
  wsockerr.o help.o wsettings.o wchat.o engineoutput.o evalgraph.o\r
 \r
 \r
@@ -70,15 +70,15 @@ $(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
 # 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) -oparser.c -L ../parser.l\r
+../parser.c: ../parser.l\r
+       $(FLEX) -o../parser.c -L ../parser.l\r
 \r
 \r
 $(PROJ).exe: $(OBJS) $(PROJ).hlp\r
@@ -94,7 +94,7 @@ backend.o: ../backend.c config.h ../common.h ../frontend.h ../backend.h \
        ../parser.h ../moves.h ../zippy.h ../backendz.h ../gettext.h ../lists.h\r
        $(call compile, $<)\r
 \r
-parser.o: parser.c config.h ../common.h ../backend.h ../parser.h \\r
+parser.o: ../parser.c config.h ../common.h ../backend.h ../parser.h \\r
        ../frontend.h ../moves.h ../lists.h\r
        $(call compile, $<)\r
 \r
@@ -117,7 +117,7 @@ wedittags.o: wedittags.c config.h ../common.h winboard.h resource.h ../frontend.
        ../backend.h ../lists.h\r
        $(call compile, $<)\r
 \r
-wgamelist.o: wgamelist.c config.h. ../common.h winboard.h resource.h ../frontend.h \\r
+wgamelist.o: wgamelist.c config.h ../common.h winboard.h resource.h ../frontend.h \\r
        ../backend.h ../lists.h\r
        $(call compile, $<)\r
 \r
@@ -137,6 +137,10 @@ whistory.o: whistory.c config.h ../common.h ../frontend.h ../backend.h \
        ../lists.h winboard.h resource.h wsnap.h\r
        $(call compile, $<)\r
 \r
+history.o: ../history.c config.h ../common.h ../frontend.h ../backend.h \\r
+       ../lists.h\r
+       $(call compile, $<)\r
+\r
 wevalgraph.o: wevalgraph.c ../evalgraph.h config.h ../common.h ../frontend.h \\r
        ../backend.h ../lists.h winboard.h resource.h wsnap.h\r
        $(call compile, $<)\r