home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip51.zip / msdos / makefile.qc < prev    next >
Makefile  |  1994-01-14  |  1KB  |  64 lines

  1. # From: Richard A Seay <g0rick@cdf.toronto.edu>, 4 Apr 92
  2. #
  3. # I successfully compiled both Zip and UnZip for MSDOS using the Microsoft
  4. # Quick C 2.0 compiler and linker.  Here are the NMAKE files that I used.
  5. #
  6. # Last revised:  14 Jan 94  (still no funzip)
  7.  
  8. PROJ    = UNZIP
  9. CC    = qcl
  10. CFLAGS  = /AL /W1 /Za /Olt /DMSC
  11. LFLAGS  = /noi /e
  12. OBJS_EXT =
  13. LIBS_EXT =
  14.  
  15. all:    $(PROJ).exe
  16.  
  17. unzip.obj:      unzip.c unzip.h
  18.  
  19. crypt.obj:      crypt.c unzip.h zip.h crypt.h
  20.  
  21. envargs.obj:    envargs.c unzip.h
  22.  
  23. explode.obj:    explode.c unzip.h
  24.  
  25. extract.obj:    extract.c unzip.h crypt.h
  26.  
  27. file_io.obj:    file_io.c unzip.h crypt.h tables.h
  28.  
  29. inflate.obj:    inflate.c unzip.h
  30.  
  31. match.obj:      match.c unzip.h
  32.  
  33. msdos.obj:      msdos/msdos.c unzip.h
  34.     $(CC) -c $(CFLAGS) /I. msdos/msdos.c
  35.  
  36. unreduce.obj:   unreduce.c unzip.h
  37.  
  38. unshrink.obj:   unshrink.c unzip.h
  39.  
  40. zipinfo.obj:    zipinfo.c unzip.h
  41.  
  42. $(PROJ).exe:    unzip.obj crypt.obj envargs.obj explode.obj extract.obj\
  43.     file_io.obj inflate.obj match.obj unreduce.obj\
  44.     unshrink.obj zipinfo.obj msdos.obj $(OBJS_EXT)
  45.     echo >NUL @<<$(PROJ).rsp
  46. unzip.obj +
  47. crypt.obj +
  48. envargs.obj +
  49. explode.obj +
  50. extract.obj +
  51. file_io.obj +
  52. inflate.obj +
  53. match.obj +
  54. msdos.obj +
  55. unreduce.obj +
  56. unshrink.obj +
  57. zipinfo.obj +
  58. $(OBJS_EXT)
  59. $(PROJ).exe
  60. $(LIBS_EXT);
  61. <<
  62.     link $(LFLAGS) @$(PROJ).rsp
  63.     del $(PROJ).rsp
  64.