From 2246169a3fc3d103dc1f5ee73c4737be480151a6 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 8 Apr 2002 14:21:36 +0000 Subject: [PATCH] Added makefiles to widgets sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/makefile.vc | 4 ++++ samples/widgets/makefile.b32 | 17 +++++++++++++++++ samples/widgets/makefile.bcc | 20 ++++++++++++++++++++ samples/widgets/makefile.g95 | 17 +++++++++++++++++ samples/widgets/makefile.vc | 19 +++++++++++++++++++ samples/widgets/makefile.wat | 15 +++++++++++++++ 6 files changed, 92 insertions(+) create mode 100644 samples/widgets/makefile.b32 create mode 100644 samples/widgets/makefile.bcc create mode 100644 samples/widgets/makefile.g95 create mode 100644 samples/widgets/makefile.vc create mode 100644 samples/widgets/makefile.wat diff --git a/samples/makefile.vc b/samples/makefile.vc index eebeb8d5d5..56a8908a2d 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -160,6 +160,8 @@ all: nmake -f makefile.vc $(MAKEFLAGS) cd $(WXDIR)\samples\wizard nmake -f makefile.vc $(MAKEFLAGS) + cd $(WXDIR)\samples\widgets + nmake -f makefile.vc $(MAKEFLAGS) cd $(WXDIR)\samples\sockets nmake -f makefile.vc $(MAKEFLAGS) @@ -276,6 +278,8 @@ clean: nmake -f makefile.vc clean cd $(WXDIR)\samples\wizard nmake -f makefile.vc clean + cd $(WXDIR)\samples\widgets + nmake -f makefile.vc clean cd $(WXDIR)\samples\sockets nmake -f makefile.vc clean diff --git a/samples/widgets/makefile.b32 b/samples/widgets/makefile.b32 new file mode 100644 index 0000000000..f4c315637a --- /dev/null +++ b/samples/widgets/makefile.b32 @@ -0,0 +1,17 @@ +# +# File: makefile.b32 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: +# +# Makefile : Builds sample for 32-bit BC++ + +WXDIR = $(WXWIN) + +TARGET=widgets +OBJECTS = $(TARGET).obj button.obj combobox.obj gauge.obj listbox.obj\ + notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.obj + +!include $(WXDIR)\src\makeprog.b32 + diff --git a/samples/widgets/makefile.bcc b/samples/widgets/makefile.bcc new file mode 100644 index 0000000000..1f3630e152 --- /dev/null +++ b/samples/widgets/makefile.bcc @@ -0,0 +1,20 @@ +# +# File: makefile.bcc +# Author: Julian Smart +# Created: 1998 +# Updated: +# +# Builds a BC++ 16-bit sample + +!if "$(WXWIN)" == "" +!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx +!endif + +WXDIR = $(WXWIN) + +TARGET=widgets button.obj combobox.obj gauge.obj listbox.obj\ + notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.obj +OBJECTS=$(TARGET).obj + +!include $(WXDIR)\src\makeprog.bcc + diff --git a/samples/widgets/makefile.g95 b/samples/widgets/makefile.g95 new file mode 100644 index 0000000000..c292a51dc6 --- /dev/null +++ b/samples/widgets/makefile.g95 @@ -0,0 +1,17 @@ +# +# File: makefile.g95 +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart, 1999 +# +# Makefile for wxWindows sample (Cygwin/Mingw32). + +WXDIR = ../.. + +TARGET=widgets +OBJECTS = $(TARGET).o button.o combobox.o gauge.o listbox.o\ + notebook.o radiobox.o slider.o spinbtn.o static.o textctrl.o + +include $(WXDIR)/src/makeprog.g95 + diff --git a/samples/widgets/makefile.vc b/samples/widgets/makefile.vc new file mode 100644 index 0000000000..2a838ef925 --- /dev/null +++ b/samples/widgets/makefile.vc @@ -0,0 +1,19 @@ +# +# File: makefile.vc +# Author: Julian Smart +# Created: 1999 +# Updated: +# Copyright: (c) Julian Smart +# +# Makefile : Builds sample (VC++, WIN32) +# Use FINAL=1 argument to nmake to build final version with no debug info. + +# Set WXDIR for your system +WXDIR = $(WXWIN) + +PROGRAM=widgets +OBJECTS = $(PROGRAM).obj button.obj combobox.obj gauge.obj listbox.obj\ + notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.obj + +!include $(WXDIR)\src\makeprog.vc + diff --git a/samples/widgets/makefile.wat b/samples/widgets/makefile.wat new file mode 100644 index 0000000000..282c5077ef --- /dev/null +++ b/samples/widgets/makefile.wat @@ -0,0 +1,15 @@ +# +# Makefile for WATCOM +# +# Created by Julian Smart, January 1999 +# +# + +WXDIR = $(%WXWIN) + +PROGRAM = widgets +OBJECTS = $(PROGRAM).obj button.obj combobox.obj gauge.obj listbox.obj notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.obj + +!include $(WXDIR)\src\makeprog.wat + + -- 2.47.2