X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fmakefile.gcc;h=8dc4a882ecd4530246cca419ad900381d5dcbbc1;hb=190e31d9e5c632b7f756efb8851dd9ef14b2d97d;hp=2e78c0b8494206449c62a69004f8bc2f67cbad15;hpb=34b434f3be18842bae13a06dec3e8c3bd591bfd0;p=xboard.git diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index 2e78c0b..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) @@ -71,7 +65,7 @@ $(PROJ).hlp : $(PROJ).rtf # Update the resource if necessary 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 @@ -163,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, $<)