home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c070 / 2.ddi / TOOLS.2 / EXAMPLES / MAKEXPLS < prev    next >
Encoding:
Text File  |  1989-03-31  |  1.5 KB  |  54 lines

  1. #
  2. # MAKEXPLS   This make file can be used to construct executable
  3. #         files from all the Turbo C TOOLS examples.  It is
  4. #         assumed that all Turbo C and Turbo C TOOLS header
  5. #         files are in the directory "\turboc\include" and libraries
  6. #         are in the directory "\turboc\lib".  By default small memory
  7. #         model executables are built. Change the values of the
  8. #         MMODEL, INC and LIB macros if the defaults are not
  9. #         appropriate.
  10. #
  11. #         This make file is invoked by:
  12. #
  13. #         make -fmakexpls
  14. #
  15. # Version 6.00 (C)Copyright Blaise Computing Inc. 1987, 1989
  16. #
  17.  
  18. .c.exe:
  19.     tcc -m$(MMODEL) -O -w -I$(INC) -L$(LIB) $*.c            \
  20.          $(LIB)\tct_t2$(MMODEL).lib
  21.  
  22. MMODEL=s
  23. INC=\turboc\include
  24. LIB=\turboc\lib
  25.  
  26. examples: cmkey.exe    criterr.exe  ctlbrk.exe     demoedt.exe        \
  27.       entryedt.exe isclock.exe  ivclock.exe  keyctrl.exe        \
  28.       menu.exe     mnexampl.exe mousehan.exe noansi.exe        \
  29.       normfile.exe pullmenu.exe showhelp.exe tcwin.exe        \
  30.       winkey.exe   wnexampl.exe
  31.  
  32. # Dependencies for example programs
  33.  
  34. cmkey.exe:    cmkey.c
  35. criterr.exe:    criterr.c
  36. ctlbrk.exe:    ctlbrk.c
  37. demoedt.exe:    demoedt.c
  38. entryedt.exe:    entryedt.c
  39. isclock.exe:    isclock.c
  40. ivclock.exe:    ivclock.c
  41. keyctrl.exe:    keyctrl.c
  42. menu.exe:    menu.c
  43. mnexampl.exe:    mnexampl.c
  44. mousehan.exe:    mousehan.c
  45. noansi.exe:    noansi.c
  46. normfile.exe:    normfile.c
  47. pullmenu.exe:    pullmenu.c
  48. showhelp.exe:    showhelp.c
  49. winkey.exe:    winkey.c
  50. wnexampl.exe:    wnexampl.c
  51.  
  52. tcwin.exe:    tcwin.c
  53.     maktcwin $(MMODEL)
  54.