X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec312631c66171d06b0a2844d669e8e899e4a4b3..c4e2838090992384911a6a6aa44cac985d79a555:/samples/treectrl/makefile.sc?ds=sidebyside

diff --git a/samples/treectrl/makefile.sc b/samples/treectrl/makefile.sc
index 058a4bb27b..a19cdce13d 100644
--- a/samples/treectrl/makefile.sc
+++ b/samples/treectrl/makefile.sc
@@ -1,37 +1,6 @@
-# Purpose: makefile for treetest example (Symantec C++)
-# Created: 2000-03-15
-
-WXDIR = $(WXWIN)
-WXLIB = $(WXDIR)\lib\wx.lib
-INCDIR = $(WXDIR)\include
-INCLUDE=$(INCDIR)
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
 TARGET=treetest
-
-include $(WXDIR)\src\makesc.env
-
-treetest.exe: treetest.obj $(DEFFILE) treetest.res
-	*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
-    *$(RC) -k treetest.res
-
-sc32.def:
-     echo EXETYPE NT > sc32.def
-     echo SUBSYSTEM WINDOWS >> sc32.def
-
-sc16.def:
-     echo NAME $(TARGET) > sc16.def
-     echo EXETYPE WINDOWS >> sc16.def
-     echo STUB         'WINSTUB.EXE' >> sc16.def
-     echo CODE         PRELOAD MOVEABLE DISCARDABLE >> sc16.def
-     echo DATA         PRELOAD MOVEABLE MULTIPLE >> sc16.def
-     echo HEAPSIZE     1024 >> sc16.def
-     echo STACKSIZE    8192 >> sc16.def
-
-clean:
-    -del *.obj
-	-del *.exe
-	-del *.res
-	-del *.map
-	-del *.rws
-    -del sc32.def
-    -del sc16.def
-
+OBJECTS = $(TARGET).obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc