]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/makefile.dos
wxFileSelector should have file name only, not path, passed to 3rd arg
[wxWidgets.git] / samples / docvwmdi / makefile.dos
index f1132c9c7f21a2ca5403ed646d5329a6c43c5b58..04760719b376b21dc7e2d6406c951ceac9b455ce 100644 (file)
@@ -1,74 +1,17 @@
 #
 # File:                makefile.dos
 # Author:      Julian Smart
 #
 # File:                makefile.dos
 # Author:      Julian Smart
-# Created:     1995
+# Created:     1998
 # Updated:     
 # Updated:     
-# Copyright:   (c) 1995, AIAI, University of Edinburgh
 #
 #
-# "%W% %G%"
-#
-# Makefile : Builds docview example (DOS).
+# Makefile : Builds 16-bit sample, VC++ 1.5
 # Use FINAL=1 argument to nmake to build final version with no debugging
 # info
 
 WXDIR = $(WXWIN)
 
 # Use FINAL=1 argument to nmake to build final version with no debugging
 # info
 
 WXDIR = $(WXWIN)
 
-!include $(WXDIR)\src\makemsc.env
-
-THISDIR = $(WXDIR)\samples\docvwmdi
-INC=/I$(WXDIR)\include
-
-HEADERS = docview.h
-SOURCES = docview.$(SRCSUFF)
-OBJECTS = docview.obj doc.obj view.obj
-
-all:    docview.exe
-
-wx:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos
-        cd $(THISDIR)
-
-wxclean:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos clean
-        cd $(THISDIR)
-
-
-docview.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) docview.def docview.res
-        link $(LINKFLAGS) @<<
-$(WXDIR)\src\msw\dummy.obj $(OBJECTS),
-docview,
-NUL,
-$(LIBS),
-docview.def
-;
-<<
-        rc -30 -K docview.res
-
-docview.obj:      docview.h docview.$(SRCSUFF)
-        cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
-
-view.obj:      view.h view.$(SRCSUFF)
-        cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
-
-doc.obj:      doc.h doc.$(SRCSUFF)
-        cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
-
-docview.res :      docview.rc $(WXDIR)\include\wx\msw\wx.rc
-    rc -r /dFAFA_LIB /i$(WXDIR)\include docview
+TARGET=docview
+OBJECTS=$(TARGET).obj doc.obj view.obj
 
 
-clean:
-        -erase *.obj
-        -erase *.exe
-        -erase *.res
-        -erase *.map
-        -erase *.sbr
-        -erase *.pdb
+!include $(WXDIR)\src\makeprog.msc