home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / prof_c / 08file / ls.mk < prev    next >
Encoding:
Text File  |  1988-08-11  |  584 b   |  26 lines

  1. # makefile for the LS program
  2.  
  3. LIB=c:\lib
  4. LLIB=c:\lib\local
  5.  
  6. # assumes that the first_fm, next_fm, setdta, getdrive, and drvpath object
  7. # modules are contained in the DOS library and that the last_ch object module
  8. # is contained in the UTIL library.
  9. OBJS=ls.obj ls_dirx.obj ls_fcomp.obj ls_list.obj
  10. LIBS=$(LLIB)\sutil.lib $(LLIB)\sdos.lib
  11.  
  12. ls_fcomp.obj:    ls_fcomp.c ls.h
  13.     msc $*;
  14.  
  15. ls_dirx.obj:    ls_dirx.c ls.h
  16.     msc $*;
  17.  
  18. ls_list.obj:    ls_list.c ls.h
  19.     msc $*;
  20.  
  21. ls.obj:        ls.c ls.h
  22.     msc $*;
  23.  
  24. ls.exe:        $(OBJS) $(LIBS)
  25.     link $(OBJS) $(LIB)\ssetargv, $*, nul, $(LIBS);
  26.