\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
\r
winboard.o: winboard.c config.h winboard.h ../common.h ../frontend.h ../backend.h \\r
../moves.h defaults.h resource.h wclipbrd.h \\r
- wsockerr.h woptions.h wsnap.h ../lists.h help.h\r
+ wsockerr.h woptions.h wsnap.h ../lists.h help.h ../args.h\r
$(call compile, $<)\r
\r
backend.o: ../backend.c config.h ../common.h ../frontend.h ../backend.h \\r
../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