X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fmakefile.gcc;h=77fc0b97290c862b5c9637e81df29d8013b1bca0;hb=HEAD;hp=778883e79cd0cb871e5a982939760c77b82e26ce;hpb=8e2285c90cf5a1230fdf8fde9640c5a0ea67f0c4;p=xboard.git diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index 778883e..77fc0b9 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -28,7 +28,7 @@ USE_MINGW=1 # set up for cygwin or not ifeq ($(USE_MINGW),1) -CFCYG = -mno-cygwin +CFCYG = -mno-cygwin -DUSE_I64 LFCYG = -mno-cygwin -lmsvcrt endif @@ -63,10 +63,7 @@ clean: # Update the help file if necessary $(PROJ).hlp : $(PROJ).rtf - $(HC) $(PROJ).hpj - @cat $(PROJ).err - @mv $(PROJ).hlp tmp.hlp - @mv tmp.hlp $(PROJ).hlp # these moves to get the case right + $(HC) $(PROJ).hpj && @cat $(PROJ).err && @mv $(PROJ).hlp tmp.hlp && @mv tmp.hlp $(PROJ).hlp || true # these moves to get the case right # Update the resource if necessary @@ -74,13 +71,6 @@ wbres.o: $(PROJ).rc $(PROJ).h resource.h config.h windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@ -# note: cygwin flex needs m4 package. cygwin-setup forgets this dependency -# note2: use mingw flex instead... although I got cygwin's flex working (with m4), -# it didn't produce a useable parser.c (1000's of errors) -../parser.c: ../parser.l - $(FLEX) -o../parser.c -L ../parser.l - - $(PROJ).exe: $(OBJS) $(PROJ).hlp $(CC) $(guiflags) $(OBJS) $(LFLAGS) -o $(PROJ).exe @@ -117,7 +107,7 @@ wedittags.o: wedittags.c config.h ../common.h winboard.h resource.h ../frontend. ../backend.h ../lists.h $(call compile, $<) -wgamelist.o: wgamelist.c config.h. ../common.h winboard.h resource.h ../frontend.h \ +wgamelist.o: wgamelist.c config.h ../common.h winboard.h resource.h ../frontend.h \ ../backend.h ../lists.h $(call compile, $<)