home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / se / part6 / pat / makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  410 b   |  29 lines

  1. # makefile for pattern library for 'se'
  2.  
  3. CFLAGS=-O
  4.  
  5. PR=pr
  6.  
  7. libpat.a: pat.o
  8.     ar ruv libpat.a pat.o
  9.     if test -r /usr/bin/ranlib; then /usr/bin/ranlib libpat.a; fi
  10.  
  11. pat.o: pat.c
  12.  
  13. install: libpat.a
  14.     cp libpat.a /usr/lib
  15.  
  16. print:
  17.     $(PR) pat.c makefile | lpr -b 'pat lib'
  18.     touch print2
  19.  
  20. print2: pat.c makefile
  21.     $(PR) $? | lpr -b 'new pat lib'
  22.     touch print2
  23.  
  24. clean:
  25.     rm -f pat.o
  26.  
  27. clobber: clean
  28.     rm -f libpat.a print2
  29.