home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume3 / lib_term / makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  1.1 KB  |  46 lines

  1. INCDIR = /usr/include
  2. MANDIR = /usr/man/manl
  3. LIBDIR = /usr/local/lib
  4.  
  5. CFLAGS = -O
  6.  
  7. OBJS = ClearEOL.o GetBool.o GetFloat.o GetHospNum.o GetInt.o GetString.o\
  8.     InitTerm.o MenuPick.o PickOne.o StandOut.o TermRewind.o TermSetUp.o\
  9.     center.o gotoxy.o page.o underline.o
  10.  
  11. libterm.a: $(OBJS) makefile
  12.     ar rvu libterm.a $(OBJS)
  13.     ranlib libterm.a
  14.  
  15. ClearEOL.o: ClearEOL.c makefile
  16. GetBool.o: GetBool.c makefile
  17. GetFloat.o: GetFloat.c makefile
  18. GetHospNum.o: GetHospNum.c makefile
  19. GetInt.o: GetInt.c makefile
  20. GetString.o: GetString.c makefile
  21. InitTerm.o: InitTerm.c makefile
  22. MenuPick.o: MenuPick.c makefile
  23. PickOne.o: PickOne.c makefile
  24. StandOut.o: StandOut.c makefile
  25. TermRewind.o: TermRewind.c makefile
  26. TermSetUp.o: TermSetUp.c makefile
  27. center.o: center.c makefile
  28. gotoxy.o: gotoxy.c makefile
  29. page.o: page.c makefile
  30. underline.o: underline.c makefile
  31.  
  32. examp: examp.c $(INCDIR)/term.h $(LIBDIR)/libterm.a makefile
  33.     cc $(CFLAGS) -o examp examp.c -lterm -ltermcap
  34.  
  35. install: libterm.a
  36.     mv libterm.a $(LIBDIR)
  37.     ranlib $(LIBDIR)/libterm.a
  38.     cp term.h $(INCDIR)
  39.  
  40. install_man: term.l
  41.     cp term.l $(MANDIR)
  42.     chmod 444 $(MANDIR)/term.l
  43.  
  44. clean:
  45.     rm -f *.o a.out core libterm.a
  46.