]> git.saurik.com Git - wxWidgets.git/commitdiff
Added some makefiles for caret, scroll and drawing samples.
authorJulian Smart <julian@anthemion.co.uk>
Thu, 27 May 1999 20:38:29 +0000 (20:38 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 27 May 1999 20:38:29 +0000 (20:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

24 files changed:
samples/caret/makefile.b32 [new file with mode: 0644]
samples/caret/makefile.bcc [new file with mode: 0644]
samples/caret/makefile.dos [new file with mode: 0644]
samples/caret/makefile.g95 [new file with mode: 0644]
samples/caret/makefile.twn [new file with mode: 0644]
samples/caret/makefile.unx [new file with mode: 0644]
samples/caret/makefile.vc [new file with mode: 0644]
samples/caret/makefile.wat [new file with mode: 0644]
samples/drawing/makefile.b32 [new file with mode: 0644]
samples/drawing/makefile.bcc [new file with mode: 0644]
samples/drawing/makefile.dos [new file with mode: 0644]
samples/drawing/makefile.g95 [new file with mode: 0644]
samples/drawing/makefile.twn [new file with mode: 0644]
samples/drawing/makefile.unx [new file with mode: 0644]
samples/drawing/makefile.vc [new file with mode: 0644]
samples/drawing/makefile.wat [new file with mode: 0644]
samples/scroll/makefile.b32 [new file with mode: 0644]
samples/scroll/makefile.bcc [new file with mode: 0644]
samples/scroll/makefile.dos [new file with mode: 0644]
samples/scroll/makefile.g95 [new file with mode: 0644]
samples/scroll/makefile.twn [new file with mode: 0644]
samples/scroll/makefile.unx [new file with mode: 0644]
samples/scroll/makefile.vc [new file with mode: 0644]
samples/scroll/makefile.wat [new file with mode: 0644]

diff --git a/samples/caret/makefile.b32 b/samples/caret/makefile.b32
new file mode 100644 (file)
index 0000000..79ed3eb
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:                makefile.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Makefile : Builds sample for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=caret
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
diff --git a/samples/caret/makefile.bcc b/samples/caret/makefile.bcc
new file mode 100644 (file)
index 0000000..8849c0a
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# 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=caret
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.bcc
+
diff --git a/samples/caret/makefile.dos b/samples/caret/makefile.dos
new file mode 100644 (file)
index 0000000..170747a
--- /dev/null
@@ -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=caret
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.msc
+
diff --git a/samples/caret/makefile.g95 b/samples/caret/makefile.g95
new file mode 100644 (file)
index 0000000..32f1406
--- /dev/null
@@ -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=caret
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
diff --git a/samples/caret/makefile.twn b/samples/caret/makefile.twn
new file mode 100644 (file)
index 0000000..cd75a73
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1993
+# Updated:     
+# Copyright:   (c) 1993, AIAI, University of Edinburgh
+#
+# "%W% %G%"
+#
+# Makefile for caret example (UNIX).
+
+WXDIR = ../..
+
+# All common UNIX compiler flags and options are now in
+# this central makefile.
+include $(WXDIR)/src/maketwin.env
+
+OBJECTS = $(OBJDIR)/caret.$(OBJSUFF) $(OBJDIR)/caret_resources.$(OBJSUFF)
+
+all:    $(OBJDIR) caret$(GUISUFFIX)$(EXESUFF)
+
+wx:
+
+$(OBJDIR):
+       mkdir $(OBJDIR)
+
+caret$(GUISUFFIX)$(EXESUFF):   $(OBJECTS) $(WXLIB)
+       $(CC) $(LDFLAGS) -o caret$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
+
+$(OBJDIR)/caret.$(OBJSUFF):    caret.$(SRCSUFF)
+       $(CC) -c $(CPPFLAGS) -o $@ caret.$(SRCSUFF)
+
+caret_resources.c:  caret.rc
+       $(RESCOMP) $(RCINPUTSWITCH) caret.rc $(RCOUTPUTSWITCH) caret_resources.c $(RESFLAGS)
+
+$(OBJDIR)/caret_resources.$(OBJSUFF):  caret_resources.c
+       $(CC) -c $(CPPFLAGS) -o $@ caret_resources.c
+
+#$(OBJDIR)/caret_resources.o:  caret.rc
+#      $(RESCOMP) $(RCINPUTSWITCH) caret.rc $(RCOUTPUTSWITCH) $(OBJDIR)/caret_resources.o $(RESFLAGS)
+
+clean:
+       rm -f $(OBJECTS) caret$(GUISUFFIX).exe core *.rsc *.res
diff --git a/samples/caret/makefile.unx b/samples/caret/makefile.unx
new file mode 100644 (file)
index 0000000..e7897f6
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+# Copyright:   (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for caret example (UNIX).
+
+PROGRAM=caret
+
+OBJECTS=$(PROGRAM).o
+
+include ../../src/makeprog.env
+
diff --git a/samples/caret/makefile.vc b/samples/caret/makefile.vc
new file mode 100644 (file)
index 0000000..3fedef3
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# 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=caret
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
diff --git a/samples/caret/makefile.wat b/samples/caret/makefile.wat
new file mode 100644 (file)
index 0000000..a234176
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+# 
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = caret
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
diff --git a/samples/drawing/makefile.b32 b/samples/drawing/makefile.b32
new file mode 100644 (file)
index 0000000..ed9f019
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:                makefile.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Makefile : Builds sample for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=drawing
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
diff --git a/samples/drawing/makefile.bcc b/samples/drawing/makefile.bcc
new file mode 100644 (file)
index 0000000..a8d9d70
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# 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=drawing
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.bcc
+
diff --git a/samples/drawing/makefile.dos b/samples/drawing/makefile.dos
new file mode 100644 (file)
index 0000000..d04f9c3
--- /dev/null
@@ -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=drawing
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.msc
+
diff --git a/samples/drawing/makefile.g95 b/samples/drawing/makefile.g95
new file mode 100644 (file)
index 0000000..581ec74
--- /dev/null
@@ -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=drawing
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
diff --git a/samples/drawing/makefile.twn b/samples/drawing/makefile.twn
new file mode 100644 (file)
index 0000000..580d997
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1993
+# Updated:     
+# Copyright:   (c) 1993, AIAI, University of Edinburgh
+#
+# "%W% %G%"
+#
+# Makefile for drawing example (UNIX).
+
+WXDIR = ../..
+
+# All common UNIX compiler flags and options are now in
+# this central makefile.
+include $(WXDIR)/src/maketwin.env
+
+OBJECTS = $(OBJDIR)/drawing.$(OBJSUFF) $(OBJDIR)/drawing_resources.$(OBJSUFF)
+
+all:    $(OBJDIR) drawing$(GUISUFFIX)$(EXESUFF)
+
+wx:
+
+$(OBJDIR):
+       mkdir $(OBJDIR)
+
+drawing$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
+       $(CC) $(LDFLAGS) -o drawing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
+
+$(OBJDIR)/drawing.$(OBJSUFF):  drawing.$(SRCSUFF)
+       $(CC) -c $(CPPFLAGS) -o $@ drawing.$(SRCSUFF)
+
+drawing_resources.c:  drawing.rc
+       $(RESCOMP) $(RCINPUTSWITCH) drawing.rc $(RCOUTPUTSWITCH) drawing_resources.c $(RESFLAGS)
+
+$(OBJDIR)/drawing_resources.$(OBJSUFF):        drawing_resources.c
+       $(CC) -c $(CPPFLAGS) -o $@ drawing_resources.c
+
+#$(OBJDIR)/drawing_resources.o:  drawing.rc
+#      $(RESCOMP) $(RCINPUTSWITCH) drawing.rc $(RCOUTPUTSWITCH) $(OBJDIR)/drawing_resources.o $(RESFLAGS)
+
+clean:
+       rm -f $(OBJECTS) drawing$(GUISUFFIX).exe core *.rsc *.res
diff --git a/samples/drawing/makefile.unx b/samples/drawing/makefile.unx
new file mode 100644 (file)
index 0000000..9b1b4e0
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+# Copyright:   (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for drawing example (UNIX).
+
+PROGRAM=drawing
+
+OBJECTS=$(PROGRAM).o
+
+include ../../src/makeprog.env
+
diff --git a/samples/drawing/makefile.vc b/samples/drawing/makefile.vc
new file mode 100644 (file)
index 0000000..4871acb
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# 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=drawing
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
diff --git a/samples/drawing/makefile.wat b/samples/drawing/makefile.wat
new file mode 100644 (file)
index 0000000..91a4751
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+# 
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = drawing
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
diff --git a/samples/scroll/makefile.b32 b/samples/scroll/makefile.b32
new file mode 100644 (file)
index 0000000..1c1fd19
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:                makefile.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Makefile : Builds sample for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=scroll
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
diff --git a/samples/scroll/makefile.bcc b/samples/scroll/makefile.bcc
new file mode 100644 (file)
index 0000000..855d4f5
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# 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=scroll
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.bcc
+
diff --git a/samples/scroll/makefile.dos b/samples/scroll/makefile.dos
new file mode 100644 (file)
index 0000000..c9c49ed
--- /dev/null
@@ -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=scroll
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.msc
+
diff --git a/samples/scroll/makefile.g95 b/samples/scroll/makefile.g95
new file mode 100644 (file)
index 0000000..d3e183d
--- /dev/null
@@ -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=scroll
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
diff --git a/samples/scroll/makefile.twn b/samples/scroll/makefile.twn
new file mode 100644 (file)
index 0000000..93b6bce
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1993
+# Updated:     
+# Copyright:   (c) 1993, AIAI, University of Edinburgh
+#
+# "%W% %G%"
+#
+# Makefile for scroll example (UNIX).
+
+WXDIR = ../..
+
+# All common UNIX compiler flags and options are now in
+# this central makefile.
+include $(WXDIR)/src/maketwin.env
+
+OBJECTS = $(OBJDIR)/scroll.$(OBJSUFF) $(OBJDIR)/scroll_resources.$(OBJSUFF)
+
+all:    $(OBJDIR) scroll$(GUISUFFIX)$(EXESUFF)
+
+wx:
+
+$(OBJDIR):
+       mkdir $(OBJDIR)
+
+scroll$(GUISUFFIX)$(EXESUFF):  $(OBJECTS) $(WXLIB)
+       $(CC) $(LDFLAGS) -o scroll$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
+
+$(OBJDIR)/scroll.$(OBJSUFF):   scroll.$(SRCSUFF)
+       $(CC) -c $(CPPFLAGS) -o $@ scroll.$(SRCSUFF)
+
+scroll_resources.c:  scroll.rc
+       $(RESCOMP) $(RCINPUTSWITCH) scroll.rc $(RCOUTPUTSWITCH) scroll_resources.c $(RESFLAGS)
+
+$(OBJDIR)/scroll_resources.$(OBJSUFF): scroll_resources.c
+       $(CC) -c $(CPPFLAGS) -o $@ scroll_resources.c
+
+#$(OBJDIR)/scroll_resources.o:  scroll.rc
+#      $(RESCOMP) $(RCINPUTSWITCH) scroll.rc $(RCOUTPUTSWITCH) $(OBJDIR)/scroll_resources.o $(RESFLAGS)
+
+clean:
+       rm -f $(OBJECTS) scroll$(GUISUFFIX).exe core *.rsc *.res
diff --git a/samples/scroll/makefile.unx b/samples/scroll/makefile.unx
new file mode 100644 (file)
index 0000000..9f0381f
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# File:                makefile.unx
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+# Copyright:   (c) 1998 Julian Smart
+#
+# "%W% %G%"
+#
+# Makefile for scroll example (UNIX).
+
+PROGRAM=scroll
+
+OBJECTS=$(PROGRAM).o
+
+include ../../src/makeprog.env
+
diff --git a/samples/scroll/makefile.vc b/samples/scroll/makefile.vc
new file mode 100644 (file)
index 0000000..1dcc7c4
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# 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=scroll
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
diff --git a/samples/scroll/makefile.wat b/samples/scroll/makefile.wat
new file mode 100644 (file)
index 0000000..1db3a07
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+# 
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = scroll
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+