home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / progng_c / dmalloc / install.lib / SAMPLE / MAKEFILE < prev    next >
Encoding:
Text File  |  1992-11-01  |  806 b   |  41 lines

  1. # MSC 5.1 Makefile for DMalloc 1.0 Demo program
  2. #
  3. # For the MSC 7 compiler (with or without PWB),
  4. # please use the DMLDEMO.MAK makefile.
  5.  
  6. # ===== File Control =====
  7.  
  8. EXENAME  = DMLDEMO
  9. OBJLIST  = dmalloc.obj demotxt.obj module1.obj module2.obj module3.obj
  10. LINKLINE = $(EXENAME);
  11. CODEVIEW = -Zi
  12.  
  13. # ===== Command Macros =====
  14.  
  15. CP = cl -c -Gs -W3 -AL -Oilsa -Zpe $(CODEVIEW) -I..
  16. LK = link /LI /MA /NOI /PACKC
  17.  
  18. COMPILE  = $(CP)
  19. LINK     = $(LK)
  20.  
  21. # ===== General Dependencies =====
  22.  
  23. .c.obj:
  24.   $(COMPILE) $*.c
  25.  
  26. # ===== Compilation Dependencies =====
  27.  
  28. demotxt.obj    : demotxt.c
  29.  
  30. module1.obj    : module1.c
  31.  
  32. module2.obj    : module2.c
  33.  
  34. module3.obj    : module3.c
  35.  
  36. # ===== Link Dependencies =====
  37.  
  38. $(EXENAME).exe: $(OBJLIST) dmalloc.lib
  39.    $(LINK) $(OBJLIST), $(LINKLINE)
  40.  
  41.