home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / screen / part01 / Makefile < prev    next >
Makefile  |  1987-08-06  |  832b  |  26 lines

  1. # The following options can be set:
  2. #
  3. # -DLOADAV    -- your system maintains a load average like 4.3 BSD does
  4. #                (an array of three doubles called _avenrun; it is read
  5. #                from /dev/kmem; _avenrun is taken from the namelist of
  6. #                /vmunix).  Don't set this on a Sun.
  7. # -DGETTTYENT -- your system has the new format /etc/ttys (like 4.3 BSD)
  8. #                and the getttyent(3) library functions.
  9. #
  10. # You should install as set-uid with owner root, so that it can read/write
  11. # /etc/utmp, read /dev/kmem, and chown/chmod the allocated pseudo-ttys.
  12.  
  13. OPTIONS= -DLOADAV
  14.  
  15. CFILES= screen.c ansi.c
  16. OFILES= screen.o ansi.o
  17.  
  18. screen: $(OFILES)
  19.     cc $(CFLAGS) -o screen $(OFILES) -ltermcap
  20.  
  21. screen.o: screen.c screen.h
  22.     cc $(OPTIONS) $(CFLAGS) -c screen.c
  23.  
  24. ansi.o: ansi.c screen.h
  25.     cc $(CFLAGS) -c ansi.c
  26.