X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/447daba1ce4295f84185d6ecdaec46ae982a2299..a8b9c34463280462d6f3d473faa2172df6f93197:/samples/controls/makefile.sc

diff --git a/samples/controls/makefile.sc b/samples/controls/makefile.sc
index 1e0bca8574..7623577efc 100644
--- a/samples/controls/makefile.sc
+++ b/samples/controls/makefile.sc
@@ -1,36 +1,6 @@
-;    Last change:  JS   10 Jul 98   11:33 am
-# Symantec C++ makefile for controls example
-# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
-
-WXDIR = $(WXWIN)
-!include $(WXDIR)\src\makesc.env
-
-WXLIB = $(WXDIR)\lib\wx.lib
-INCDIR = $(WXDIR)\include
-MSWINC = $(INCDIR)\msw
-BASEINC = $(INCDIR)\base
-
-CC=sc
-RC=rc
-CFLAGS = -o -ml -W -Dwx_msw
-LDFLAGS = -ml -W
-
-INCLUDE=$(BASEINC);$(MSWINC)
-
-LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
-
-.$(SRCSUFF).obj:
-	*$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
-
-.rc.res:
-	*$(RC) -r -I$(INCLUDE) $<
-
-controls.exe: controls.obj controls.def controls.res
-	*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
-
-clean:
-        -del *.obj
-	-del *.exe
-	-del *.res
-	-del *.map
-	-del *.rws
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
+TARGET=controls
+OBJECTS = $(TARGET).obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc