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