X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..9d8b1d2f3e70a151591e7b472991bceeef07f32a:/samples/exec/makefile.sc

diff --git a/samples/exec/makefile.sc b/samples/exec/makefile.sc
index e1a3a1a4f6..04ebb1face 100644
--- a/samples/exec/makefile.sc
+++ b/samples/exec/makefile.sc
@@ -1,37 +1,6 @@
-# Purpose: makefile for exec example (Symantec C++)
-# Created: 2000-03-14
-
-WXDIR = $(WXWIN)
-WXLIB = $(WXDIR)\lib\wx.lib
-INCDIR = $(WXDIR)\include
-INCLUDE=$(INCDIR)
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
 TARGET=exec
-
-include $(WXDIR)\src\makesc.env
-
-exec.exe: exec.obj $(DEFFILE) exec.res
-	*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
-    *$(RC) -k exec.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