home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / cpluspls / tsr100je.zip / MAKEFILE.MAK < prev    next >
Makefile  |  1993-03-22  |  1KB  |  52 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #       MAKEFILE.MAK: makefile for DOS TSR class.
  4. #       Copyright (c) J.English 1993.
  5. #
  6. #       Permission is granted to use copy and distribute the
  7. #       information contained in this file provided that this
  8. #       copyright notice is retained intact and that any software
  9. #       or other document incorporating this file or parts thereof
  10. #       makes the source code for the TSR class of which this file
  11. #       is a part freely available.
  12. #
  13. #---------------------------------------------------------------------------
  14.  
  15. .AUTODEPEND
  16. .SILENT
  17.  
  18. #----- Symbol definitions -----
  19.  
  20. DIR   = d:\borlandc                 # Borland C++ directory -- change to suit
  21. MODEL = s                           # Memory model (s, m, l, c, h or t)
  22. CC    = bcc -m$(MODEL) -I$(INC)\include -L$(LIB)\lib
  23.  
  24. #----- Default compilation rule -----
  25.  
  26. .cpp.obj:
  27.     $(CC) -c $.
  28.  
  29. #----- Compilation rules -----
  30.  
  31. all: tick.exe clock.exe protect.exe scrcopy.exe
  32.  
  33. tick.exe: tick.obj tsr.obj
  34.     $(CC) tick.obj tsr.obj
  35.  
  36. clock.exe: clock.obj tsr.obj
  37.     $(CC) clock.obj tsr.obj
  38.  
  39. protect.exe: protect.obj tsr.obj
  40.     $(CC) protect.obj tsr.obj
  41.  
  42. scrcopy.exe: scrcopy.obj tsr.obj
  43.     $(CC) scrcopy.obj tsr.obj
  44.  
  45. #----- Other targets -----
  46.  
  47. clean:                              # clean up directory
  48.     del *.obj
  49.  
  50. print:                              # print sources
  51.     print tsr.doc makefile.mak *.h *.cpp
  52.