]> git.saurik.com Git - wxWidgets.git/commitdiff
Added makefiles to widgets sample
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 14:21:36 +0000 (14:21 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 14:21:36 +0000 (14:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/makefile.vc
samples/widgets/makefile.b32 [new file with mode: 0644]
samples/widgets/makefile.bcc [new file with mode: 0644]
samples/widgets/makefile.g95 [new file with mode: 0644]
samples/widgets/makefile.vc [new file with mode: 0644]
samples/widgets/makefile.wat [new file with mode: 0644]

index eebeb8d5d5fd710a6f5fe88139ab5ab9b389631b..56a8908a2da29cbb29fe70f431ed33e0b7925082 100644 (file)
@@ -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 (file)
index 0000000..f4c3156
--- /dev/null
@@ -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 (file)
index 0000000..1f3630e
--- /dev/null
@@ -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 (file)
index 0000000..c292a51
--- /dev/null
@@ -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 (file)
index 0000000..2a838ef
--- /dev/null
@@ -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 (file)
index 0000000..282c507
--- /dev/null
@@ -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
+
+