]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/checklst/makefile.dos
wxFileSelector should have file name only, not path, passed to 3rd arg
[wxWidgets.git] / samples / checklst / makefile.dos
index c33ea5e45008d05bfa3a9d98c0e8edd42a6a9fd2..78232aa5712498bacdd59506c0ffdd68c5fdc895 100644 (file)
@@ -1,65 +1,17 @@
 #
 # File:                makefile.dos
 # Author:      Julian Smart
-# Created:     1993
+# Created:     1998
 # Updated:     
-# Copyright:   (c) 1993, AIAI, University of Edinburgh
 #
-# "%W% %G%"
-#
-# Makefile : Builds checklst 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)
 
-!include $(WXDIR)\src\makemsc.env
-
-THISDIR = $(WXDIR)\samples\checklst
-
-!ifndef FINAL
-FINAL=0
-!endif
-
-HEADERS =
-SOURCES = checklst.$(SRCSUFF)
-OBJECTS = checklst.obj
-
-all:    checklst.exe
-
-wx:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos FINAL=$(FINAL)
-        cd $(THISDIR)
-
-wxclean:
-        cd $(WXDIR)\src\msw
-        nmake -f makefile.dos clean
-        cd $(THISDIR)
-
-checklst.exe:      $(WXDIR)\src\msw\dummy.obj $(WXLIB) checklst.obj checklst.def checklst.res
-        link $(LINKFLAGS) @<<
-checklst.obj $(WXDIR)\src\msw\dummy.obj,
-checklst,
-NUL,
-$(LIBS),
-checklst.def
-;
-<<
-        rc -K checklst.res
-
-checklst.obj:      checklst.$(SRCSUFF)
-        cl @<<
-$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
-<<
+TARGET=checklst
+OBJECTS=$(TARGET).obj
 
-checklst.res :      checklst.rc $(WXDIR)\include\wx\msw\wx.rc
-    rc -r /i$(WXDIR)\include checklst
+!include $(WXDIR)\src\makeprog.msc
 
-clean:
-        -erase *.obj
-        -erase *.exe
-        -erase *.res
-        -erase *.map
-        -erase *.sbr
-        -erase *.pdb