home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume3 / libc_term / Makefile < prev    next >
Makefile  |  1986-11-30  |  956b  |  37 lines

  1. CFLAGS = -O
  2. LIBDIR = /usr/local/lib
  3. MANDIR = /usr/man/manl
  4. INCDIR = /usr/include
  5.  
  6. OBJS = init_term.o get_erase.o get_float.o get_int.o\
  7.     get_bool.o get_hosp_num.o get_string.o pick_one.o\
  8.     center.o
  9.  
  10. libc_term.a: $(OBJS) Makefile
  11.     ar rcv libc_term.a $(OBJS)
  12.     ranlib libc_term.a
  13.  
  14. init_term.o: init_term.c c_term.h Makefile
  15. get_erase.o: get_erase.c c_term.h Makefile
  16. get_float.o: get_float.c c_term.h Makefile
  17. get_int.o: get_int.c c_term.h Makefile
  18. get_bool.o: get_bool.c c_term.h Makefile
  19. get_hosp_num.o: get_hosp_num.c c_term.h Makefile
  20. get_string.o: get_string.c c_term.h Makefile
  21. pick_one.o: pick_one.c c_term.h Makefile
  22. center.o: center.c c_term.h Makefile
  23.  
  24. examp: examp.c c_term.h /usr/local/lib/libc_term.a Makefile
  25.     cc $(CFLAGS) -o examp examp.c -lc_term -lcurses -ltermcap
  26.  
  27. install: libc_term.a
  28.     mv libc_term.a $(LIBDIR)
  29.     ranlib $(LIBDIR)/libc_term.a
  30.     cp c_term.h $(INCDIR)
  31.  
  32. install_man: c_term.l
  33.     cp c_term.l $(MANDIR)
  34.  
  35. clean:
  36.     rm -f *.o a.out core
  37.