From fed485e0946d9cff74fce6afdb169796d90a99f2 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 9 Feb 1999 15:40:15 +0000 Subject: [PATCH] Added more makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/help/makefile.b32 | 16 ++++ samples/help/makefile.dos | 17 ++++ samples/help/makefile.g95 | 16 ++++ samples/help/makefile.unx | 17 ++++ samples/makefile.b32 | 161 ++++++++++++++++++++++++++++++++++++++ samples/makefile.dos | 160 +++++++++++++++++++++++++++++++++++++ 6 files changed, 387 insertions(+) create mode 100644 samples/help/makefile.b32 create mode 100644 samples/help/makefile.dos create mode 100644 samples/help/makefile.g95 create mode 100644 samples/help/makefile.unx create mode 100644 samples/makefile.b32 create mode 100644 samples/makefile.dos diff --git a/samples/help/makefile.b32 b/samples/help/makefile.b32 new file mode 100644 index 0000000000..98bc1c286f --- /dev/null +++ b/samples/help/makefile.b32 @@ -0,0 +1,16 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=demo +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/samples/help/makefile.dos b/samples/help/makefile.dos new file mode 100644 index 0000000000..64d28581ab --- /dev/null +++ b/samples/help/makefile.dos @@ -0,0 +1,17 @@ +# +# File: makefile.dos +# Author: Julian Smart +# Created: 1998 +# Updated: +# +# Makefile : Builds 16-bit sample, VC++ 1.5 +# Use FINAL=1 argument to nmake to build final version with no debugging +# info + +WXDIR = $(WXWIN) + +TARGET=demo +OBJECTS = $(TARGET).obj + +!include $(WXDIR)\src\makeprog.msc + diff --git a/samples/help/makefile.g95 b/samples/help/makefile.g95 new file mode 100644 index 0000000000..ac126c5ce5 --- /dev/null +++ b/samples/help/makefile.g95 @@ -0,0 +1,16 @@ +# +# File: makefile.g95 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart, 1999 +# +# Makefile for wxWindows sample (Cygwin/Mingw32). + +WXDIR = ../.. + +TARGET=demo +OBJECTS = $(TARGET).o + +include $(WXDIR)/src/makeprog.g95 + diff --git a/samples/help/makefile.unx b/samples/help/makefile.unx new file mode 100644 index 0000000000..3f9beee001 --- /dev/null +++ b/samples/help/makefile.unx @@ -0,0 +1,17 @@ +# +# File: makefile.unx +# Author: Julian Smart +# Created: 1998 +# Updated: +# Copyright: (c) 1998 Julian Smart +# +# "%W% %G%" +# +# Makefile for help example (UNIX). + +PROGRAM=demo + +OBJECTS=$(PROGRAM).o + +include ../../src/makeprog.env + diff --git a/samples/makefile.b32 b/samples/makefile.b32 new file mode 100644 index 0000000000..465f71c58e --- /dev/null +++ b/samples/makefile.b32 @@ -0,0 +1,161 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1993 +# Updated: +# Copyright: (c) 1993, AIAI, University of Edinburgh +# +# "%W% %G%" +# +# Makefile : Builds samples for Win95, BC++ WIN32 +# 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\makevc.env + +all: + cd $(WXDIR)\samples\splitter + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\resource + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\controls + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\listctrl + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\treectrl + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\validate + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\mdi + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\minimal + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\layout + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\printing + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\toolbar + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\dialogs + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\docview + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\docvwmdi + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\controls + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\grid + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\internat + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\dnd + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\joytest + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\taskbar + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\sashtest + nmake -f makefile.b32 FINAL=$(FINAL) +!if "$(FINAL)" == "0" + cd $(WXDIR)\samples\memcheck +!endif + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\checklst + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\minifram + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\bombs + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\fractal + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\wxpoem + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\typetest + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\proplist + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\image + nmake -f makefile.b32 FINAL=$(FINAL) + cd $(WXDIR)\samples\dde + nmake -f makefile.b32 FINAL=$(FINAL) +# cd $(WXDIR)\samples\regtest +# nmake -f makefile.b32 FINAL=$(FINAL) + +clean: + cd $(WXDIR)\samples\splitter + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\mdi + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\minimal + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\layout + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\printing + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\toolbar + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\dialogs + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\resource + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\listctrl + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\treectrl + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\validate + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\docview + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\docvwmdi + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\controls + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\grid + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\internat + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\checklst + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\dnd + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\joytest + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\regtest + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\taskbar + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\sashtest + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\memcheck + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\minifram + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\bombs + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\fractal + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\wxpoem + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\typetest + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\proplist + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\image + nmake -f makefile.b32 clean + cd $(WXDIR)\samples\dde + nmake -f makefile.b32 clean + cd $(WXDIR)\samples + diff --git a/samples/makefile.dos b/samples/makefile.dos new file mode 100644 index 0000000000..4feacd5d06 --- /dev/null +++ b/samples/makefile.dos @@ -0,0 +1,160 @@ +# +# File: makefile.dos +# Author: Julian Smart +# Created: 1993 +# Updated: +# Copyright: (c) 1993, AIAI, University of Edinburgh +# +# "%W% %G%" +# +# Makefile : Builds samples for Win95, MSVC++ 16-bit +# 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\makemsc.env + +all: + cd $(WXDIR)\samples\splitter + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\resource + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\controls + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\listctrl + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\treectrl + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\validate + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\mdi + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\minimal + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\layout + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\printing + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\toolbar + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\dialogs + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\docview + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\docvwmdi + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\controls + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\grid + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\internat + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\dnd + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\joytest + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\taskbar + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\sashtest + nmake -f makefile.dos FINAL=$(FINAL) +!if "$(FINAL)" == "0" + cd $(WXDIR)\samples\memcheck +!endif + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\checklst + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\minifram + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\bombs + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\fractal + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\wxpoem + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\typetest + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\proplist + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\image + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\samples\dde + nmake -f makefile.dos FINAL=$(FINAL) +# cd $(WXDIR)\samples\regtest +# nmake -f makefile.dos FINAL=$(FINAL) + +clean: + cd $(WXDIR)\samples\splitter + nmake -f makefile.dos clean + cd $(WXDIR)\samples\mdi + nmake -f makefile.dos clean + cd $(WXDIR)\samples\minimal + nmake -f makefile.dos clean + cd $(WXDIR)\samples\layout + nmake -f makefile.dos clean + cd $(WXDIR)\samples\printing + nmake -f makefile.dos clean + cd $(WXDIR)\samples\toolbar + nmake -f makefile.dos clean + cd $(WXDIR)\samples\dialogs + nmake -f makefile.dos clean + cd $(WXDIR)\samples\resource + nmake -f makefile.dos clean + cd $(WXDIR)\samples\listctrl + nmake -f makefile.dos clean + cd $(WXDIR)\samples\treectrl + nmake -f makefile.dos clean + cd $(WXDIR)\samples\validate + nmake -f makefile.dos clean + cd $(WXDIR)\samples\docview + nmake -f makefile.dos clean + cd $(WXDIR)\samples\docvwmdi + nmake -f makefile.dos clean + cd $(WXDIR)\samples\controls + nmake -f makefile.dos clean + cd $(WXDIR)\samples\nativdlg + nmake -f makefile.dos clean + cd $(WXDIR)\samples\grid + nmake -f makefile.dos clean + cd $(WXDIR)\samples\internat + nmake -f makefile.dos clean + cd $(WXDIR)\samples\checklst + nmake -f makefile.dos clean + cd $(WXDIR)\samples\ownerdrw + nmake -f makefile.dos clean + cd $(WXDIR)\samples\dnd + nmake -f makefile.dos clean + cd $(WXDIR)\samples\joytest + nmake -f makefile.dos clean + cd $(WXDIR)\samples\regtest + nmake -f makefile.dos clean + cd $(WXDIR)\samples\taskbar + nmake -f makefile.dos clean + cd $(WXDIR)\samples\sashtest + nmake -f makefile.dos clean + cd $(WXDIR)\samples\memcheck + nmake -f makefile.dos clean + cd $(WXDIR)\samples\minifram + nmake -f makefile.dos clean + cd $(WXDIR)\samples\bombs + nmake -f makefile.dos clean + cd $(WXDIR)\samples\fractal + nmake -f makefile.dos clean + cd $(WXDIR)\samples\wxpoem + nmake -f makefile.dos clean + cd $(WXDIR)\samples\typetest + nmake -f makefile.dos clean + cd $(WXDIR)\samples\proplist + nmake -f makefile.dos clean + cd $(WXDIR)\samples\image + nmake -f makefile.dos clean + cd $(WXDIR)\samples\dde + nmake -f makefile.dos clean + -- 2.47.2