home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / UNZP50P1.ZIP / MSDOS / makefile.qc < prev   
Makefile  |  1993-01-23  |  1KB  |  58 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. PROJ    =UNZIP
  7. CC    =qcl
  8. CFLAGS  = /AS /W1 /Za /Olt
  9. LFLAGS  = /NOI /E
  10. OBJS_EXT =
  11. LIBS_EXT =
  12.  
  13. all:    $(PROJ).exe
  14.  
  15. unzip.obj:      unzip.c unzip.h
  16.  
  17. envargs.obj:    envargs.c unzip.h
  18.  
  19. explode.obj:    explode.c unzip.h
  20.  
  21. extract.obj:    extract.c unzip.h
  22.  
  23. file_io.obj:    file_io.c unzip.h
  24.  
  25. inflate.obj:    inflate.c unzip.h
  26.  
  27. mapname.obj:    mapname.c unzip.h
  28.  
  29. match.obj:      match.c unzip.h
  30.  
  31. misc.obj:       misc.c unzip.h
  32.  
  33. unreduce.obj:   unreduce.c unzip.h
  34.  
  35. unshrink.obj:   unshrink.c unzip.h
  36.  
  37. $(PROJ).exe:    unzip.obj envargs.obj explode.obj extract.obj file_io.obj\
  38.     inflate.obj mapname.obj match.obj misc.obj unreduce.obj unshrink.obj\
  39.     $(OBJS_EXT)
  40.     echo >NUL @<<$(PROJ).crf
  41. unzip.obj +
  42. envargs.obj +
  43. explode.obj +
  44. extract.obj +
  45. file_io.obj +
  46. inflate.obj +
  47. mapname.obj +
  48. match.obj +
  49. misc.obj +
  50. unreduce.obj +
  51. unshrink.obj +
  52. $(OBJS_EXT)
  53. $(PROJ).exe
  54. $(LIBS_EXT);
  55. <<
  56.     link $(LFLAGS) @$(PROJ).crf
  57.     del $(PROJ).crf
  58.