From 1ff121bd9ef9039571b67bc2679ddd9190a98f27 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 21 May 1998 14:22:00 +0000 Subject: [PATCH] Added sample makefile.nt, makefile.g95. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/makefile.g95 | 72 ++++++++++++++++++ samples/makefile.nt | 173 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 245 insertions(+) create mode 100644 samples/makefile.g95 create mode 100644 samples/makefile.nt diff --git a/samples/makefile.g95 b/samples/makefile.g95 new file mode 100644 index 0000000000..761c7a23f3 --- /dev/null +++ b/samples/makefile.g95 @@ -0,0 +1,72 @@ +# +# File: makefile.g95 +# Author: Julian Smart +# Created: 1997 +# Updated: +# Copyright: +# +# "%W% %G%" +# +# Makefile : Builds samples for Win95, GnuWin32 +# info + +# Set WXDIR for your system +WXDIR = .. + +THISDIR=$(WXDIR)/samples + +all: + cd $(WXDIR)/samples/splitter; make -f makefile.g95 + cd $(WXDIR)/samples/resource; make -f makefile.g95 + cd $(WXDIR)/samples/events; make -f makefile.g95 + cd $(WXDIR)/samples/controls; make -f makefile.g95 + cd $(WXDIR)/samples/listctrl; make -f makefile.g95 + cd $(WXDIR)/samples/treectrl; make -f makefile.g95 + cd $(WXDIR)/samples/validate; make -f makefile.g95 + cd $(WXDIR)/samples/mdi; make -f makefile.g95 + cd $(WXDIR)/samples/minimal; make -f makefile.g95 + cd $(WXDIR)/samples/layout; make -f makefile.g95 + cd $(WXDIR)/samples/printing; make -f makefile.g95 + cd $(WXDIR)/samples/tbarsmpl; make -f makefile.g95 + cd $(WXDIR)/samples/tbar95; make -f makefile.g95 + cd $(WXDIR)/samples/tbarmsw; make -f makefile.g95 + cd $(WXDIR)/samples/dialogs; make -f makefile.g95 + cd $(WXDIR)/samples/docview; make -f makefile.g95 + cd $(WXDIR)/samples/controls; make -f makefile.g95 + cd $(WXDIR)/samples/nativdlg; make -f makefile.g95 + cd $(WXDIR)/samples/grid; make -f makefile.g95 + cd $(WXDIR)/samples/internat; make -f makefile.g95 + cd $(WXDIR)/samples/checklst; make -f makefile.g95 + cd $(WXDIR)/samples/dnd; make -f makefile.g95 + cd $(WXDIR)/samples/ownerdrw; make -f makefile.g95 + cd $(WXDIR)/samples/joytest; make -f makefile.g95 + cd $(WXDIR)/samples/regtest; make -f makefile.g95 + cd $(WXDIR)/samples/memcheck; make -f makefile.g95 + +clean: + cd $(WXDIR)/samples/splitter; make -f makefile.g95 clean + cd $(WXDIR)/samples/mdi; make -f makefile.g95 clean + cd $(WXDIR)/samples/minimal; make -f makefile.g95 clean + cd $(WXDIR)/samples/layout; make -f makefile.g95 clean + cd $(WXDIR)/samples/printing; make -f makefile.g95 clean + cd $(WXDIR)/samples/tbarsmpl; make -f makefile.g95 clean + cd $(WXDIR)/samples/tbarmsw; make -f makefile.g95 clean + cd $(WXDIR)/samples/tbar95; make -f makefile.g95 clean + cd $(WXDIR)/samples/dialogs; make -f makefile.g95 clean + cd $(WXDIR)/samples/resource; make -f makefile.g95 clean + cd $(WXDIR)/samples/listctrl; make -f makefile.g95 clean + cd $(WXDIR)/samples/treectrl; make -f makefile.g95 clean + cd $(WXDIR)/samples/validate; make -f makefile.g95 clean + cd $(WXDIR)/samples/events; make -f makefile.g95 clean + cd $(WXDIR)/samples/docview; make -f makefile.g95 clean + cd $(WXDIR)/samples/controls; make -f makefile.g95 clean + cd $(WXDIR)/samples/nativdlg; make -f makefile.g95 clean + cd $(WXDIR)/samples/grid; make -f makefile.g95 clean + cd $(WXDIR)/samples/internat; make -f makefile.g95 clean + cd $(WXDIR)/samples/checklst; make -f makefile.g95 clean + cd $(WXDIR)/samples/dnd; make -f makefile.g95 clean + cd $(WXDIR)/samples/ownerdrw; make -f makefile.g95 clean + cd $(WXDIR)/samples/regtest; make -f makefile.g95 clean + cd $(WXDIR)/samples/joytest; make -f makefile.g95 clean + cd $(WXDIR)/samples/memcheck; make -f makefile.g95 clean + diff --git a/samples/makefile.nt b/samples/makefile.nt new file mode 100644 index 0000000000..7c1fb9531f --- /dev/null +++ b/samples/makefile.nt @@ -0,0 +1,173 @@ +# +# File: makefile.nt +# Author: Julian Smart +# Created: 1993 +# Updated: +# Copyright: (c) 1993, AIAI, University of Edinburgh +# +# "%W% %G%" +# +# Makefile : Builds samples for Win95, MSVC++ 4.0 +# Use FINAL=1 argument to nmake to build final version with no debugging +# info + +# Set WXDIR for your system +WXDIR = $(WXWIN) + +THISDIR=$(WXDIR)\samples + +!include $(WXDIR)\src\ntwxwin.mak + +DEBUG_FLAGS="/Zi /FR" +LINK_DEBUG_FLAGS="/RELEASE" + +all: + cd $(WXDIR)\samples\splitter + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\resource + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\events + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\controls + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\listctrl + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\treectrl + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\validate + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\mdi + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\minimal + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\layout + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\printing + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\tbarsmpl + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\tbar95 + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\tbarmsw + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\dialogs + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\docview + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\controls + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\grid + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\internat + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\checklst + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\dnd + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\joytest + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\regtest + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\taskbar + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + cd $(WXDIR)\samples\memcheck + nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\hello +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\fractal +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\ipc +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\wxpoem +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\types +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\pressup +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\bombs +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\animate +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\panel +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) +# cd $(WXDIR)\samples\odbc +# nmake -f makefile.nt DEBUG_FLAGS=$(DEBUG_FLAGS) LINK_DEBUG_FLAGS=$(LINK_DEBUG_FLAGS) + +clean: + cd $(WXDIR)\samples\splitter + nmake -f makefile.nt clean + cd $(WXDIR)\samples\mdi + nmake -f makefile.nt clean + cd $(WXDIR)\samples\minimal + nmake -f makefile.nt clean + cd $(WXDIR)\samples\layout + nmake -f makefile.nt clean + cd $(WXDIR)\samples\printing + nmake -f makefile.nt clean + cd $(WXDIR)\samples\tbarsmpl + nmake -f makefile.nt clean + cd $(WXDIR)\samples\tbarmsw + nmake -f makefile.nt clean + cd $(WXDIR)\samples\tbar95 + nmake -f makefile.nt clean + cd $(WXDIR)\samples\dialogs + nmake -f makefile.nt clean + cd $(WXDIR)\samples\resource + nmake -f makefile.nt clean + cd $(WXDIR)\samples\listctrl + nmake -f makefile.nt clean + cd $(WXDIR)\samples\treectrl + nmake -f makefile.nt clean + cd $(WXDIR)\samples\validate + nmake -f makefile.nt clean + cd $(WXDIR)\samples\events + nmake -f makefile.nt clean + cd $(WXDIR)\samples\docview + nmake -f makefile.nt clean + cd $(WXDIR)\samples\controls + nmake -f makefile.nt clean + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.nt clean + cd $(WXDIR)\samples\grid + nmake -f makefile.nt clean + cd $(WXDIR)\samples\internat + nmake -f makefile.nt clean + cd $(WXDIR)\samples\checklst + nmake -f makefile.nt clean + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.nt clean + cd $(WXDIR)\samples\dnd + nmake -f makefile.nt clean + cd $(WXDIR)\samples\joytest + nmake -f makefile.nt clean + cd $(WXDIR)\samples\regtest + nmake -f makefile.nt clean + cd $(WXDIR)\samples\taskbar + nmake -f makefile.nt clean + cd $(WXDIR)\samples\memcheck + nmake -f makefile.nt clean +# cd $(WXDIR)\samples\hello +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\fractal +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\ipc +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\types +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\pressup +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\bombs +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\odbc +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\animate +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\panel +# nmake -f makefile.nt clean +# cd $(WXDIR)\samples\wxpoem +# nmake -f makefile.nt clean + -- 2.45.2