home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / prof_c / 14view / vf.mk < prev   
Encoding:
Text File  |  1988-08-11  |  674 b   |  33 lines

  1. # makefile for the ViewFile (VF) program
  2. # (compile using "compact" memory model)
  3.  
  4. MODEL = C
  5. LIB = c:\lib
  6. LLIB = c:\lib\local
  7. LIBS = $(LLIB)\$(MODEL)util.lib $(LLIB)\$(MODEL)dos.lib $(LLIB)\$(MODEL)bios.lib
  8. OBJS = vf_list.obj vf_dspy.obj vf_srch.obj vf_util.obj vf_cmd.obj \
  9.     message.obj getstr.obj
  10.  
  11. vf_list.obj:    vf_list.c vf.h
  12.  
  13. vf_dspy.obj:    vf_dspy.c vf.h
  14.  
  15. vf_srch.obj:    vf_srch.c vf.h
  16.  
  17. vf_util.obj:    vf_util.c vf.h
  18.  
  19. vf_cmd.obj:    vf_cmd.c vf.h
  20.  
  21. getstr.obj:    getstr.c
  22.  
  23. message.obj:    message.c message.h
  24.  
  25. cvf.lib:    $(OBJS)
  26.     del cvf.lib
  27.     lib cvf +$(OBJS);
  28.  
  29. vf.obj:    vf.c
  30.  
  31. vf.exe:    vf.obj cvf.lib $(LIBS)
  32.     link $* $(LIB)\csetargv, $*, nul, cvf $(LIBS);
  33.