X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fmakefile.gcc;h=8dc4a882ecd4530246cca419ad900381d5dcbbc1;hb=84786e5f06126838b5a38acc7fe7f8758ec44422;hp=7e7b820dbd6479ded6eb465c294ebfcfc49c8a98;hpb=44ff1187b7efcde0643a5ec98af3ac73a49846a1;p=xboard.git diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index 7e7b820..8dc4a88 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -7,7 +7,7 @@ PROJ=winboard OBJS=backend.o book.o gamelist.o lists.o moves.o pgntags.o uci.o zippy.o\ parser.o wbres.o wclipbrd.o wedittags.o wengineo.o wevalgraph.o\ wgamelist.o whistory.o winboard.o wlayout.o woptions.o wsnap.o\ - wsockerr.o help.o + wsockerr.o help.o settings.o # make compiling less spammy @@ -18,10 +18,6 @@ compile = @echo "$1"; $(CC) $(CFLAGS) $1 USE_DEBUG=0 -# JAWS support? -JAWS=0 - - # set this to 1 unless you don't mind linking with cygwin1.dll USE_MINGW=1 @@ -37,9 +33,7 @@ FLEX = "flex.exe" # we need version 2.5.4 or later, cygwin's is 2.5.35 # "c:/mingw/mingw32/bin/flex.exe" HC="C:/Program Files/Help Workshop/hcrtf" -xn DEFS = -D_WIN32_IE=0x0300 -DWIN32 -ifeq ($(JAWS),1) - DEFS += -DJAWS -endif + WARN = -Wall -Wno-char-subscripts -Wno-parentheses ARCH = ifeq ($(USE_DEBUG),0) @@ -70,9 +64,8 @@ $(PROJ).hlp : $(PROJ).rtf # Update the resource if necessary -#wbres.o: $(RESDEPS) wbres.o: $(PROJ).rc $(PROJ).h resource.h - windres $(DEFS) --use-temp-file --include-dir .. $< -O coff -o $@ + windres --use-temp-file --include-dir .. $< -O coff -o $@ # note: cygwin flex needs m4 package. cygwin-setup forgets this dependency @@ -164,5 +157,8 @@ book.o: ../book.c ../common.h ../backend.h ../lists.h uci.o: ../uci.c ..//common.h ../backend.h ../frontend.h ../lists.h $(call compile, $<) +wsettings.o: wsettings.c ..//common.h ../backend.h ../frontend.h ../lists.h + $(call compile, $<) + %.o: %.c $(call compile, $<)