]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/makefile.sc
dmars_smake support (bakefile cvs, patch 942877)
[wxWidgets.git] / samples / controls / makefile.sc
index 1e0bca8574d2aed77af34fcffda6395ad879d584..7623577efc0c2edc06e8bf067d32c412575e1bb8 100644 (file)
@@ -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