X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fmakefile.gcc;h=8dc4a882ecd4530246cca419ad900381d5dcbbc1;hb=84786e5f06126838b5a38acc7fe7f8758ec44422;hp=b358337ddd214bb09e862c298bb545b23e5c4f9e;hpb=fe5678ecd51104c48452807ded1da1ddabad4999;p=xboard.git diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index b358337..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 @@ -28,12 +28,12 @@ CFCYG = -mno-cygwin LFCYG = -mno-cygwin -lmsvcrt endif - CC = gcc 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 + WARN = -Wall -Wno-char-subscripts -Wno-parentheses ARCH = ifeq ($(USE_DEBUG),0) @@ -46,7 +46,6 @@ CF = -c $(WARN) -pipe $(CFDEBUG) $(DEFS) -I. -I.. CFLAGS = $(CF) $(ARCH) $(OPTS) $(CFCYG) LFLAGS = $(LFCYG) $(CFDEBUG) -fpic -s -mwindows -lwsock32 -lwinmm -lcomctl32 - all: $(PROJ).exe @@ -82,7 +81,7 @@ $(PROJ).exe: $(OBJS) $(PROJ).hlp winboard.o: winboard.c config.h winboard.h ../common.h ../frontend.h ../backend.h \ ../moves.h wgamelist.h defaults.h resource.h wclipbrd.h \ - wedittags.h wsockerr.h woptions.h wsnap.h ../lists.h help.h + wedittags.h wsockerr.h woptions.h wsnap.h ../lists.h help.h $(call compile, $<) backend.o: ../backend.c config.h ../common.h ../frontend.h ../backend.h \ @@ -101,50 +100,50 @@ lists.o: ../lists.c config.h ../lists.h ../common.h $(call compile, $<) gamelist.o: ../gamelist.c config.h ../lists.h ../common.h ../frontend.h \ - ../backend.h ../parser.h - $(call compile, $<) - -wclipbrd.o: wclipbrd.c config.h ../common.h ../frontend.h ../backend.h \ - winboard.h resource.h wclipbrd.h ../lists.h - $(call compile, $<) - -wedittags.o: wedittags.c config.h ../common.h winboard.h resource.h ../frontend.h \ - ../backend.h ../lists.h wedittags.h - $(call compile, $<) - -wgamelist.o: wgamelist.c config.h. ../common.h winboard.h resource.h ../frontend.h \ - ../backend.h wgamelist.h ../lists.h - $(call compile, $<) - -woptions.o: woptions.c config.h ../common.h ../frontend.h ../backend.h ../lists.h \ - defaults.h winboard.h resource.h - $(call compile, $<) - -wengineo.o: wengineo.c config.h ../common.h ../frontend.h ../backend.h \ - ../lists.h winboard.h resource.h wsnap.h - $(call compile, $<) - -whistory.o: whistory.c config.h ../common.h ../frontend.h ../backend.h \ - ../lists.h winboard.h resource.h wsnap.h - $(call compile, $<) - -wevalgraph.o: wevalgraph.c config.h ../common.h ../frontend.h ../backend.h \ - ../lists.h winboard.h resource.h wsnap.h - $(call compile, $<) - -wlayout.o: wlayout.c config.h ../common.h winboard.h resource.h - $(call compile, $<) - -wsockerr.o: wsockerr.c wsockerr.h - $(call compile, $<) - -help.o: help.c help.h - $(call compile, $<) - -wsnap.o: wsnap.c wsnap.h - $(call compile, $<) - -pgntags.o: ../pgntags.c config.h ../common.h ../frontend.h ../backend.h \ + ../backend.h ../parser.h + $(call compile, $<) + +wclipbrd.o: wclipbrd.c config.h ../common.h ../frontend.h ../backend.h \ + winboard.h resource.h wclipbrd.h ../lists.h + $(call compile, $<) + +wedittags.o: wedittags.c config.h ../common.h winboard.h resource.h ../frontend.h \ + ../backend.h ../lists.h wedittags.h + $(call compile, $<) + +wgamelist.o: wgamelist.c config.h. ../common.h winboard.h resource.h ../frontend.h \ + ../backend.h wgamelist.h ../lists.h + $(call compile, $<) + +woptions.o: woptions.c config.h ../common.h ../frontend.h ../backend.h ../lists.h \ + defaults.h winboard.h resource.h + $(call compile, $<) + +wengineo.o: wengineo.c config.h ../common.h ../frontend.h ../backend.h \ + ../lists.h winboard.h resource.h wsnap.h + $(call compile, $<) + +whistory.o: whistory.c config.h ../common.h ../frontend.h ../backend.h \ + ../lists.h winboard.h resource.h wsnap.h + $(call compile, $<) + +wevalgraph.o: wevalgraph.c config.h ../common.h ../frontend.h ../backend.h \ + ../lists.h winboard.h resource.h wsnap.h + $(call compile, $<) + +wlayout.o: wlayout.c config.h ../common.h winboard.h resource.h + $(call compile, $<) + +wsockerr.o: wsockerr.c wsockerr.h + $(call compile, $<) + +help.o: help.c help.h + $(call compile, $<) + +wsnap.o: wsnap.c wsnap.h + $(call compile, $<) + +pgntags.o: ../pgntags.c config.h ../common.h ../frontend.h ../backend.h \ ../parser.h ../lists.h $(call compile, $<) @@ -158,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, $<)