]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/makefile.sc
Enhanced stock labels usage. Source cleaning.
[wxWidgets.git] / samples / docview / makefile.sc
index 250054f91fb24b8e4b58096c4a6df780d121608e..8ce6b49d530e9f36b4ae5cee19c3c1dd80d8b194 100644 (file)
@@ -1,38 +1,6 @@
-# Symantec C++ makefile for docview 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
-
-OBJECTS=docview.obj view.obj doc.obj
-
-.$(SRCSUFF).obj:
-       *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
-
-.rc.res:
-       *$(RC) -r -I$(INCLUDE) $<
-
-docview.exe: $(OBJECTS) docview.def docview.res
-       *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS)
-       *$(RC) -k docview.res
-
-clean:
-        -del *.obj
-       -del *.exe
-       -del *.res
-       -del *.map
-       -del *.rws
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
+TARGET=docview
+OBJECTS = $(TARGET).obj doc.obj view.obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc