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

  1. # makefile for libchangetty.a -- terminal resetting functions
  2.  
  3. TARGET= libchangetty.a
  4. SRCS= changetty.c
  5. OBJS= changetty.o
  6. PRINTS= $(SRCS) makefile
  7.  
  8. CFLAGS= -O `cat ../flags`
  9.  
  10. $(TARGET): $(OBJS) ../flags
  11.     ar ruv $(TARGET) $(OBJS)
  12.     if test -r /usr/bin/ranlib; then /usr/bin/ranlib $(TARGET); fi
  13.  
  14. clean:
  15.     rm -fr $(OBJS)
  16.  
  17. clobber: clean
  18.     rm -fr $(TARGET) print2
  19.  
  20. print:
  21.     prt $(PRINTS) | lpr -b 'tty lib'
  22.     touch print2
  23.  
  24. print2: $(PRINTS)
  25.     prt $? | lpr -b 'new tty lib'
  26.     touch print2
  27.