home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / UNZP50P1.ZIP / AMIGA / lmkfile < prev    next >
Text File  |  1993-01-23  |  2KB  |  50 lines

  1. # Makefile for UnZip 5.x using SAS/C 5.10a                       24 June 1992
  2. #
  3. # Not tested since UnZip 4.1.  May need to change directory names for stat.c
  4. # and utime.c.
  5.  
  6. #####################
  7. # MACRO DEFINITIONS #
  8. #####################
  9.  
  10. CRYPTF =
  11. CRYPTO =
  12. # Uncomment following two lines for decryption version:
  13. #CRYPTF = -DCRYPT
  14. #CRYPTO = crypt.o
  15.  
  16. CC = lc
  17. CFLAGS = -O -DUNIX $(CRYPTF) -v -m0t -cuaisfr -rr
  18. LD = blink
  19. LDFLAGS = TO unzip FROM LIB:c.o
  20. LDFLAGS2 = LIB LIB:lc.lib LIB:amiga.lib
  21. EXE =
  22. O = .o
  23. OBJS = unzip$O $(CRYPTO) envargs$O explode$O extract$O file_io$O inflate$O\
  24.        mapname$O match$O misc$O unreduce$O unshrink$O utime$O stat$O
  25.  
  26. ###############################################
  27. # BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  28. ###############################################
  29.  
  30. .c$O :
  31.         $(CC) -o$@ $(CFLAGS) $*.c
  32.  
  33. unzip$(EXE):    $(OBJS)
  34.         $(LD) $(LDFLAGS) $(OBJS) $(LDFLAGS2)
  35.  
  36. crypt$O:        crypt.c unzip.h zip.h    # may or may not be in distribution
  37. envargs$O:      envargs.c unzip.h
  38. explode$O:      explode.c unzip.h
  39. extract$O:      extract.c unzip.h
  40. file_io$O:      file_io.c unzip.h
  41. inflate$O:      inflate.c unzip.h
  42. mapname$O:      mapname.c unzip.h
  43. match$O:        match.c unzip.h
  44. misc$O:         misc.c unzip.h
  45. unreduce$O:     unreduce.c unzip.h
  46. unshrink$O:     unshrink.c unzip.h
  47. unzip$O:        unzip.c unzip.h
  48. stat$O:         amiga/stat.c    # may need to change or remove directory name
  49. utime$O:        amiga/utime.c    # may need to change or remove directory name
  50.