home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume6 / att_which / Makefile next >
Encoding:
Makefile  |  1986-11-30  |  354 b   |  26 lines

  1. # makefile for 'which'
  2. # vix 25jul86 [written]
  3.  
  4. CFLAGS        =    -O
  5. DESTDIR        =    /mnt/local/bin
  6.  
  7. .c.o        :
  8.             cc $(CFLAGS) -c $<
  9.  
  10. all        :    which
  11.  
  12. which        :    which.o
  13.             cc -o which which.o
  14.  
  15. which.o        :    which.c
  16.  
  17. install        :    all
  18.             mv which $(DESTDIR)
  19.             chmod 775 $(DESTDIR)/which
  20.  
  21. clean        :
  22.             rm -f which.o
  23.  
  24. kit        :    clean
  25.             shar -bcsv README Makefile which.c > which.shar
  26.