home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / LISTS.PAK / MAKEFILE < prev    next >
Encoding:
Text File  |  1997-05-06  |  1.7 KB  |  41 lines

  1. #--------------------------------------------------------------------------#
  2. #                                                                          #
  3. #   MAKEFILE for List examples                                             #
  4. #                                                                          #
  5. #   Copyright (c) 1994, 1996 Borland International                         #
  6. #   All Rights Reserved                                                    #
  7. #                                                                          #
  8. #   Usage:                                                                 #
  9. #       make MODEL=f                 for 32-bit Windows                    #
  10. #       make MODEL={m|l}             for 16-bit Windows                    #
  11. #       make MODEL={m|l}     -DDOS16 for 16-bit DOS                        #
  12. #                                                                          #
  13. #--------------------------------------------------------------------------#
  14.  
  15. !if $(SYSTEM)==WIN16 || $d(WIN16) || $(SYSTEM)==DOS16 || $d(DOS16) || !$d(SYSTEM)
  16.  MODELS = mlh
  17. !endif
  18. SYSTEMS = DOS16 WIN16 CON32
  19.  
  20. EXE    = listx
  21. EXEALL = listx.exe ilist.exe slist.exe islist.exe \
  22.          dlist.exe idlist.exe sdlist.exe isdlist.exe
  23.  
  24. EXEMAKE= $(LIST) $(ILIST) $(SLIST) $(ISLIST) \
  25.          $(DLIST) $(IDLIST) $(SDLIST) $(ISDLIST)
  26.  
  27. RULES  = myclass.obj: ..\myclass.cpp
  28.  
  29. LIST=$(EXERULE:listx.obj=listx.obj myclass.obj)
  30. ILIST=$(LIST:listx=ilist)
  31. SLIST=$(LIST:listx=slist)
  32. ISLIST=$(LIST:listx=islist)
  33. DLIST=$(LIST:listx=dlist)
  34. IDLIST=$(LIST:listx=idlist)
  35. SDLIST=$(LIST:listx=sdlist)
  36. ISDLIST=$(LIST:listx=isdlist)
  37.  
  38.  
  39. !include $(BCEXAMPLEDIR)\bidsmake.gen
  40.  
  41.