home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / samples / makefile.dos < prev    next >
Makefile  |  2002-04-12  |  9KB  |  283 lines

  1. #
  2. # File:        makefile.dos
  3. # Author:    Julian Smart
  4. # Created:    1993
  5. # Updated:    
  6. # Copyright:    (c) 1993, AIAI, University of Edinburgh
  7. #
  8. # "%W% %G%"
  9. #
  10. # Makefile : Builds samples for Win95, MSVC++ 16-bit
  11. # Use FINAL=1 argument to nmake to build final version with no debugging
  12. # info
  13.  
  14. # Set WXDIR for your system
  15. WXDIR = $(WXWIN)
  16.  
  17. THISDIR=$(WXDIR)\samples
  18.  
  19. #
  20. # Indicates kind of pb with samples
  21. #
  22. # No makefile.dos file
  23. NOMAKE=1
  24. # No 16 bit version
  25. ONLY32=1
  26. # Misc. compilation errors
  27. COMPIL=1
  28.  
  29. !include $(WXDIR)\src\makemsc.env
  30.  
  31. #
  32. # Please keep samples list up-to-date, in alphabetical order
  33. #
  34. all:
  35.         cd $(WXDIR)\samples\artprov
  36.         nmake -f makefile.dos FINAL=$(FINAL)
  37.         cd $(WXDIR)\samples\bombs
  38.         nmake -f makefile.dos FINAL=$(FINAL)
  39.         cd $(WXDIR)\samples\caret
  40.         nmake -f makefile.dos FINAL=$(FINAL)
  41.         cd $(WXDIR)\samples\checklst
  42.         nmake -f makefile.dos FINAL=$(FINAL)
  43.         cd $(WXDIR)\samples\config
  44.         nmake -f makefile.dos FINAL=$(FINAL)
  45.         cd $(WXDIR)\samples\controls
  46.         nmake -f makefile.dos FINAL=$(FINAL)
  47. !if "$(COMPIL)"==""
  48.         cd $(WXDIR)\samples\db
  49.         nmake -f makefile.dos FINAL=$(FINAL)
  50. !endif
  51.         cd $(WXDIR)\samples\dde
  52.         nmake -f makefile.dos FINAL=$(FINAL)
  53.         cd $(WXDIR)\samples\dialogs
  54.         nmake -f makefile.dos FINAL=$(FINAL)
  55. !if "$(ONLY32)"==""
  56.         cd $(WXDIR)\samples\dnd
  57.         nmake -f makefile.dos FINAL=$(FINAL)
  58. !endif
  59.         cd $(WXDIR)\samples\docview
  60.         nmake -f makefile.dos FINAL=$(FINAL)
  61.         cd $(WXDIR)\samples\docvwmdi
  62.         nmake -f makefile.dos FINAL=$(FINAL)
  63.         cd $(WXDIR)\samples\drawing
  64.         nmake -f makefile.dos FINAL=$(FINAL)
  65.         cd $(WXDIR)\samples\dynamic
  66.         nmake -f makefile.dos FINAL=$(FINAL)
  67.         cd $(WXDIR)\samples\forty
  68.         nmake -f makefile.dos FINAL=$(FINAL)
  69.         cd $(WXDIR)\samples\fractal
  70.         nmake -f makefile.dos FINAL=$(FINAL)
  71.         cd $(WXDIR)\samples\grid
  72.         nmake -f makefile.dos FINAL=$(FINAL)
  73. !if "$(NOMAKE)"==""
  74.         cd $(WXDIR)\samples\help
  75.         nmake -f makefile.dos FINAL=$(FINAL)
  76.         cd $(WXDIR)\samples\html
  77.         nmake -f makefile.dos FINAL=$(FINAL)
  78. !endif
  79.         cd $(WXDIR)\samples\internat
  80.         nmake -f makefile.dos FINAL=$(FINAL)
  81.         cd $(WXDIR)\samples\joytest
  82.         nmake -f makefile.dos FINAL=$(FINAL)
  83.         cd $(WXDIR)\samples\layout
  84.         nmake -f makefile.dos FINAL=$(FINAL)
  85.         cd $(WXDIR)\samples\listctrl
  86.         nmake -f makefile.dos FINAL=$(FINAL)
  87.         cd $(WXDIR)\samples\mdi
  88.         nmake -f makefile.dos FINAL=$(FINAL)
  89. !if "$(FINAL)" == "0"
  90.         cd $(WXDIR)\samples\memcheck
  91.         nmake -f makefile.dos FINAL=$(FINAL)
  92. !endif
  93. !if "$(COMPIL)"==""
  94.         cd $(WXDIR)\samples\mfc
  95.         nmake -f makefile.dos FINAL=$(FINAL)
  96. !endif
  97.         cd $(WXDIR)\samples\minifram
  98.         nmake -f makefile.dos FINAL=$(FINAL)
  99.         cd $(WXDIR)\samples\minimal
  100.         nmake -f makefile.dos FINAL=$(FINAL)
  101. !if "$(ONLY32)"==""
  102.         cd $(WXDIR)\samples\nativdlg
  103.         nmake -f makefile.dos FINAL=$(FINAL)
  104. !endif
  105.         cd $(WXDIR)\samples\notebook
  106.         nmake -f makefile.dos FINAL=$(FINAL)
  107. !if "$(NOMAKE)"==""
  108.         cd $(WXDIR)\samples\oleauto
  109.         nmake -f makefile.dos FINAL=$(FINAL)
  110. !endif
  111.         cd $(WXDIR)\samples\ownerdrw
  112.         nmake -f makefile.dos FINAL=$(FINAL)
  113. !if "$(NOMAKE)"==""
  114.         cd $(WXDIR)\samples\png
  115.         nmake -f makefile.dos FINAL=$(FINAL)
  116. !endif
  117.         cd $(WXDIR)\samples\printing
  118.         nmake -f makefile.dos FINAL=$(FINAL)
  119.         cd $(WXDIR)\samples\proplist
  120.         nmake -f makefile.dos FINAL=$(FINAL)
  121. !if "$(NOMAKE)"==""
  122.         cd $(WXDIR)\samples\regtest
  123.         nmake -f makefile.dos FINAL=$(FINAL)
  124. !endif
  125.         cd $(WXDIR)\samples\resource
  126.         nmake -f makefile.dos FINAL=$(FINAL)
  127. !if "$(NOMAKE)"==""
  128.         cd $(WXDIR)\samples\sashtest
  129.         nmake -f makefile.dos FINAL=$(FINAL)
  130. !endif
  131.         cd $(WXDIR)\samples\scroll
  132.         nmake -f makefile.dos FINAL=$(FINAL)
  133.         cd $(WXDIR)\samples\splitter
  134.         nmake -f makefile.dos FINAL=$(FINAL)
  135. !if "$(COMPIL)"==""
  136.         cd $(WXDIR)\samples\tab
  137.         nmake -f makefile.dos FINAL=$(FINAL)
  138.         cd $(WXDIR)\samples\taskbar
  139.         nmake -f makefile.dos FINAL=$(FINAL)
  140. !endif
  141.         cd $(WXDIR)\samples\text
  142.         nmake -f makefile.dos FINAL=$(FINAL)
  143. !if "$(ONLY32)"==""
  144.         cd $(WXDIR)\samples\thread
  145.         nmake -f makefile.dos FINAL=$(FINAL)
  146. !endif
  147.         cd $(WXDIR)\samples\toolbar
  148.         nmake -f makefile.dos FINAL=$(FINAL)
  149.         cd $(WXDIR)\samples\treectrl
  150.         nmake -f makefile.dos FINAL=$(FINAL)
  151. !if "$(COMPIL)"==""
  152.         cd $(WXDIR)\samples\typetest
  153.         nmake -f makefile.dos FINAL=$(FINAL)
  154. !endif
  155.         cd $(WXDIR)\samples\validate
  156.         nmake -f makefile.dos FINAL=$(FINAL)
  157. !if "$(NOMAKE)"==""
  158.         cd $(WXDIR)\samples\wizard
  159.         nmake -f makefile.dos FINAL=$(FINAL)
  160. !endif
  161.         cd $(WXDIR)\samples\wxpoem
  162.         nmake -f makefile.dos FINAL=$(FINAL)
  163. !if "$(COMPIL)"==""
  164.         cd $(WXDIR)\samples\wxsocket
  165.         nmake -f makefile.dos FINAL=$(FINAL)
  166. !endif
  167. clean:
  168.         cd $(WXDIR)\samples\bombs
  169.         nmake -f makefile.dos clean
  170.         cd $(WXDIR)\samples\caret
  171.         nmake -f makefile.dos clean
  172.         cd $(WXDIR)\samples\checklst
  173.         nmake -f makefile.dos clean
  174.         cd $(WXDIR)\samples\config
  175.         nmake -f makefile.dos clean
  176.         cd $(WXDIR)\samples\controls
  177.         nmake -f makefile.dos clean
  178.         cd $(WXDIR)\samples\db
  179.         nmake -f makefile.dos clean
  180.         cd $(WXDIR)\samples\dde
  181.         nmake -f makefile.dos clean
  182.         cd $(WXDIR)\samples\dialogs
  183.         nmake -f makefile.dos clean
  184.         cd $(WXDIR)\samples\dnd
  185.         nmake -f makefile.dos clean
  186.         cd $(WXDIR)\samples\docview
  187.         nmake -f makefile.dos clean
  188.         cd $(WXDIR)\samples\docvwmdi
  189.         nmake -f makefile.dos clean
  190.         cd $(WXDIR)\samples\drawing
  191.         nmake -f makefile.dos clean
  192.         cd $(WXDIR)\samples\dynamic
  193.         nmake -f makefile.dos clean
  194.         cd $(WXDIR)\samples\forty
  195.         nmake -f makefile.dos clean
  196.         cd $(WXDIR)\samples\fractal
  197.         nmake -f makefile.dos clean
  198.         cd $(WXDIR)\samples\grid
  199.         nmake -f makefile.dos clean
  200. !if "$(NOMAKE)"==""
  201.         cd $(WXDIR)\samples\help
  202.         nmake -f makefile.dos clean
  203.         cd $(WXDIR)\samples\html
  204.         nmake -f makefile.dos clean
  205. !endif
  206.         cd $(WXDIR)\samples\internat
  207.         nmake -f makefile.dos clean
  208.         cd $(WXDIR)\samples\joytest
  209.         nmake -f makefile.dos clean
  210.         cd $(WXDIR)\samples\layout
  211.         nmake -f makefile.dos clean
  212.         cd $(WXDIR)\samples\listctrl
  213.         nmake -f makefile.dos clean
  214.         cd $(WXDIR)\samples\mdi
  215.         nmake -f makefile.dos clean
  216. !if "$(FINAL)" == "0"
  217.         cd $(WXDIR)\samples\memcheck
  218.         nmake -f makefile.dos clean
  219. !endif
  220.         cd $(WXDIR)\samples\mfc
  221.         nmake -f makefile.dos clean
  222.         cd $(WXDIR)\samples\minifram
  223.         nmake -f makefile.dos clean
  224.         cd $(WXDIR)\samples\minimal
  225.         nmake -f makefile.dos clean
  226.         cd $(WXDIR)\samples\nativdlg
  227.         nmake -f makefile.dos clean
  228.         cd $(WXDIR)\samples\notebook
  229.         nmake -f makefile.dos clean
  230. !if "$(NOMAKE)"==""
  231.         cd $(WXDIR)\samples\oleauto
  232.         nmake -f makefile.dos clean
  233. !endif
  234.         cd $(WXDIR)\samples\ownerdrw
  235.         nmake -f makefile.dos clean
  236. !if "$(NOMAKE)"==""
  237.         cd $(WXDIR)\samples\png
  238.         nmake -f makefile.dos clean
  239. !endif
  240.         cd $(WXDIR)\samples\printing
  241.         nmake -f makefile.dos clean
  242.         cd $(WXDIR)\samples\proplist
  243.         nmake -f makefile.dos clean
  244. !if "$(NOMAKE)"==""
  245.         cd $(WXDIR)\samples\regtest
  246.         nmake -f makefile.dos clean
  247. !endif
  248.         cd $(WXDIR)\samples\resource
  249.         nmake -f makefile.dos clean
  250. !if "$(NOMAKE)"==""
  251.         cd $(WXDIR)\samples\sashtest
  252.         nmake -f makefile.dos clean
  253. !endif
  254.         cd $(WXDIR)\samples\scroll
  255.         nmake -f makefile.dos clean
  256.         cd $(WXDIR)\samples\splitter
  257.         nmake -f makefile.dos clean
  258.         cd $(WXDIR)\samples\tab
  259.         nmake -f makefile.dos clean
  260.         cd $(WXDIR)\samples\taskbar
  261.         nmake -f makefile.dos clean
  262.         cd $(WXDIR)\samples\text
  263.         nmake -f makefile.dos clean
  264.         cd $(WXDIR)\samples\thread
  265.         nmake -f makefile.dos clean
  266.         cd $(WXDIR)\samples\toolbar
  267.         nmake -f makefile.dos clean
  268.         cd $(WXDIR)\samples\treectrl
  269.         nmake -f makefile.dos clean
  270.         cd $(WXDIR)\samples\typetest
  271.         nmake -f makefile.dos clean
  272.         cd $(WXDIR)\samples\validate
  273.         nmake -f makefile.dos clean
  274. !if "$(NOMAKE)"==""
  275.         cd $(WXDIR)\samples\wizard
  276.         nmake -f makefile.dos clean
  277. !endif
  278.         cd $(WXDIR)\samples\wxpoem
  279.         nmake -f makefile.dos clean
  280.         cd $(WXDIR)\samples\wxsocket
  281.         nmake -f makefile.dos clean
  282.  
  283.