home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / unix / macutil2.sha / macutil / crc / makefile < prev   
Encoding:
Makefile  |  1992-11-05  |  475 b   |  28 lines

  1. CFLAGS =    -O $(CF)
  2. CRCC =    arc.c ccitt.c kermit.c binhex.c ccitt32.c zip.c
  3. CRCO =    arc.o ccitt.o kermit.o binhex.o ccitt32.o zip.o
  4.  
  5. libcrc.a:    $(CRCO)
  6.     ar r libcrc.a $(CRCO)
  7.     if test -f /usr/bin/ranlib ;\
  8.     then \
  9.         ranlib libcrc.a ;\
  10.     fi
  11.  
  12. clean:
  13.     -rm -f $(CRCC) $(CRCO) libcrc.a makecrc makecrc.o
  14.  
  15. $(CRCC):    makecrc
  16.     ./makecrc
  17.  
  18. makecrc:    makecrc.o
  19.     cc -O -o makecrc makecrc.o
  20.  
  21. arc.o:    arc.c
  22. ccitt.o:    ccitt.c
  23. kermit.o:    kermit.c
  24. binhex.o:    binhex.c
  25. ccitt32.o:    ccitt32.c
  26. zip.o:        zip.c
  27.  
  28.