]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/makefile.b32
compilation fix
[wxWidgets.git] / samples / text / makefile.b32
index 8accc1bcfd2184b275891221d89d9f5b371637bd..0c85385358db1ef3a120fbf15c35fbda399b1d49 100644 (file)
@@ -9,8 +9,17 @@
 
 WXDIR = $(WXWIN)
 
-TARGET=controls
+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
+