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