X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6be663cf0d9c0ce48dea6c1c2f628ed376f128c0..30827629fa11f6365f69bd2917e1a35d22c35363:/samples/makefile.g95 diff --git a/samples/makefile.g95 b/samples/makefile.g95 index 8b5be576cb..4dc0659cc4 100644 --- a/samples/makefile.g95 +++ b/samples/makefile.g95 @@ -7,72 +7,100 @@ # # "%W% %G%" # -# Makefile : Builds samples for Win95, GnuWin32 +# Makefile : Builds samples for Win95, Cygwin # info # Set WXDIR for your system -SHELL=cmd.exe +# SHELL=cmd.exe WXDIR = .. THISDIR=$(WXDIR)/samples +MAKEFILE=makefile.g95 +MAKEFLAGS=WXUSINGDLL=$(WXUSINGDLL) UNICODE=$(UNICODE) +CMDLINE=-f $(MAKEFILE) $(MAKEFLAGS) -all: - $(MAKE) -C $(WXDIR)/samples/bombs -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/fractal -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/splitter -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/resource -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/controls -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/listctrl -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/treectrl -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/validate -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/mdi -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/minimal -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/layout -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/printing -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/proplist -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/toolbar -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/dialogs -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/docview -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/docvwmdi -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/sashtest -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/controls -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/nativdlg -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/grid -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/internat -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/checklst -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/dnd -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/ownerdrw -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/joytest -f makefile.g95 - $(MAKE) -C $(WXDIR)/samples/memcheck -f makefile.g95 -# $(MAKE) -C $(WXDIR)/samples/regtest -f makefile.g95 +# Mingw make may not have a shell to use, so can't use a loop here. Sigh. +# Please add new sample directories alphabetically to make it easier to +# keep track. -clean: - $(MAKE) -C $(WXDIR)/samples/bombs -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/fractal -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/splitter -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/mdi -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/minimal -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/layout -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/printing -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/proplist -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/toolbar -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/dialogs -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/resource -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/listctrl -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/treectrl -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/validate -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/docview -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/docvwmdi -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/sashtest -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/controls -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/nativdlg -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/grid -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/internat -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/checklst -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/dnd -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/ownerdrw -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/regtest -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/joytest -f makefile.g95 clean - $(MAKE) -C $(WXDIR)/samples/memcheck -f makefile.g95 clean +all clean: + -$(MAKE) -C calendar $(CMDLINE) $@ + -$(MAKE) -C caret $(CMDLINE) $@ + -$(MAKE) -C checklst $(CMDLINE) $@ + -$(MAKE) -C config $(CMDLINE) $@ + -$(MAKE) -C controls $(CMDLINE) $@ + -$(MAKE) -C db $(CMDLINE) $@ + -$(MAKE) -C dialogs $(CMDLINE) $@ + -$(MAKE) -C dialup $(CMDLINE) $@ + -$(MAKE) -C dnd $(CMDLINE) $@ + -$(MAKE) -C docview $(CMDLINE) $@ + -$(MAKE) -C docvwmdi $(CMDLINE) $@ + -$(MAKE) -C dragimag $(CMDLINE) $@ + -$(MAKE) -C drawing $(CMDLINE) $@ + -$(MAKE) -C dynamic $(CMDLINE) $@ + -$(MAKE) -C erase $(CMDLINE) $@ + -$(MAKE) -C event $(CMDLINE) $@ + -$(MAKE) -C exec $(CMDLINE) $@ + -$(MAKE) -C font $(CMDLINE) $@ + -$(MAKE) -C grid $(CMDLINE) $@ + -$(MAKE) -C help $(CMDLINE) $@ + -$(MAKE) -C html $(CMDLINE) $@ + -$(MAKE) -C image $(CMDLINE) $@ + -$(MAKE) -C internat $(CMDLINE) $@ + -$(MAKE) -C ipc $(CMDLINE) $@ + -$(MAKE) -C joytest $(CMDLINE) $@ + -$(MAKE) -C layout $(CMDLINE) $@ + -$(MAKE) -C listbox $(CMDLINE) $@ + -$(MAKE) -C listctrl $(CMDLINE) $@ + -$(MAKE) -C mdi $(CMDLINE) $@ + -$(MAKE) -C menu $(CMDLINE) $@ + -$(MAKE) -C minifram $(CMDLINE) $@ + -$(MAKE) -C minimal $(CMDLINE) $@ + -$(MAKE) -C nativdlg $(CMDLINE) $@ + -$(MAKE) -C newgrid $(CMDLINE) $@ + -$(MAKE) -C notebook $(CMDLINE) $@ + -$(MAKE) -C oleauto $(CMDLINE) $@ + -$(MAKE) -C ownerdrw $(CMDLINE) $@ + -$(MAKE) -C png $(CMDLINE) $@ + -$(MAKE) -C printing $(CMDLINE) $@ + -$(MAKE) -C proplist $(CMDLINE) $@ + -$(MAKE) -C propsize $(CMDLINE) $@ + -$(MAKE) -C regtest $(CMDLINE) $@ + -$(MAKE) -C resource $(CMDLINE) $@ + -$(MAKE) -C richedit $(CMDLINE) $@ + -$(MAKE) -C rotate $(CMDLINE) $@ + -$(MAKE) -C sashtest $(CMDLINE) $@ + -$(MAKE) -C scroll $(CMDLINE) $@ + -$(MAKE) -C scrollsub $(CMDLINE) $@ + -$(MAKE) -C sockets $(CMDLINE) $@ + -$(MAKE) -C splitter $(CMDLINE) $@ + -$(MAKE) -C statbar $(CMDLINE) $@ + -$(MAKE) -C tab $(CMDLINE) $@ + -$(MAKE) -C taskbar $(CMDLINE) $@ + -$(MAKE) -C text $(CMDLINE) $@ + -$(MAKE) -C thread $(CMDLINE) $@ + -$(MAKE) -C toolbar $(CMDLINE) $@ + -$(MAKE) -C treectrl $(CMDLINE) $@ + -$(MAKE) -C treelay $(CMDLINE) $@ + -$(MAKE) -C typetest $(CMDLINE) $@ + -$(MAKE) -C validate $(CMDLINE) $@ + -$(MAKE) -C widgets $(CMDLINE) $@ + -$(MAKE) -C wizard $(CMDLINE) $@ +# Samples untested +# +# -$(MAKE) -C opengl $(CMDLINE) $@ + +# Missing makefile, sample untested +# +# -$(MAKE) -C console $(CMDLINE) $@ + +# MFC still not available for cygwin/mingw +# +# -$(MAKE) -C mfc $(CMDLINE) $@ + +# Memcheck does not work under cygwin/mingw +# +# -$(MAKE) -C memcheck $(CMDLINE) $@ +