home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_06_05 / v6n5054a.txt < prev    next >
Text File  |  1989-09-28  |  736b  |  33 lines

  1.  
  2.  .C.OBJ:
  3.     cl -c $(CFLAGS) $*.C
  4.  .OBJ.EXE:
  5.     link $**,$*,,$(LIBNAME)
  6. CFLAGS=
  7. LIBNAME=packlib
  8. closefile.obj:    closefile.c filehdr.h
  9. openfile.obj:    openfile.c filehdr.h
  10. squeeze.obj:    squeeze.c filehdr.h
  11. unsqueeze.obj:    unsqueeze.c filehdr.h
  12. checksum.obj:    checksum.c checksum.h
  13. pack.obj:    pack.c    filehdr.h checksum.h
  14. unpack.obj:    unpack.c filehdr.h checksum.h
  15. packlib.lib:    closefile.obj  
  16.         openfile.obj  
  17.         squeeze.obj  
  18.         unsqueeze.obj  
  19.         checksum.obj  
  20.         pack.obj  
  21.         unpack.obj
  22.     erase $(LIBNAME).LIB
  23.     lib @$(LIBNAME).CON
  24. pack.exe:    pack.obj $(LIBNAME).LIB
  25. unpack.exe:    unpack.obj $(LIBNAME).LIB
  26.  
  27. The librarian control file packlib.con contains:
  28.  
  29.     packlib
  30.     y
  31.     +closefile+openfile+squeeze  
  32.     +unsqueeze+checksum
  33.