From da95cfa91d23a23c779d68bf5449846730a5b08c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 30 Apr 2000 16:02:52 +0000 Subject: [PATCH] Chnaged name for text sample with BC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/makefile.b32 | 11 ++++++++++- samples/text/makefile.wat | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/samples/text/makefile.b32 b/samples/text/makefile.b32 index df9a96af75..0c85385358 100644 --- a/samples/text/makefile.b32 +++ b/samples/text/makefile.b32 @@ -9,8 +9,17 @@ WXDIR = $(WXWIN) -TARGET=text +TARGET=texttst OBJECTS = $(TARGET).obj +# We have to copy to a different root name, +# since BC++ doesn't seem to like the name 'text' +# when linking +all: copyfiles $(TARGET).exe $(EXTRATARGETS) + !include $(WXDIR)\src\makeprog.b32 +copyfiles: + copy text.cpp texttst.cpp + copy text.rc texttst.rc + diff --git a/samples/text/makefile.wat b/samples/text/makefile.wat index db1d6cc5b6..6ba2275933 100644 --- a/samples/text/makefile.wat +++ b/samples/text/makefile.wat @@ -7,7 +7,7 @@ WXDIR = $(%WXWIN) -PROGRAM = controls +PROGRAM = text OBJECTS = $(PROGRAM).obj !include $(WXDIR)\src\makeprog.wat