home *** CD-ROM | disk | FTP | other *** search
Makefile | 1986-11-30 | 1.1 KB | 46 lines |
- INCDIR = /usr/include
- MANDIR = /usr/man/manl
- LIBDIR = /usr/local/lib
-
- CFLAGS = -O
-
- OBJS = ClearEOL.o GetBool.o GetFloat.o GetHospNum.o GetInt.o GetString.o\
- InitTerm.o MenuPick.o PickOne.o StandOut.o TermRewind.o TermSetUp.o\
- center.o gotoxy.o page.o underline.o
-
- libterm.a: $(OBJS) makefile
- ar rvu libterm.a $(OBJS)
- ranlib libterm.a
-
- ClearEOL.o: ClearEOL.c makefile
- GetBool.o: GetBool.c makefile
- GetFloat.o: GetFloat.c makefile
- GetHospNum.o: GetHospNum.c makefile
- GetInt.o: GetInt.c makefile
- GetString.o: GetString.c makefile
- InitTerm.o: InitTerm.c makefile
- MenuPick.o: MenuPick.c makefile
- PickOne.o: PickOne.c makefile
- StandOut.o: StandOut.c makefile
- TermRewind.o: TermRewind.c makefile
- TermSetUp.o: TermSetUp.c makefile
- center.o: center.c makefile
- gotoxy.o: gotoxy.c makefile
- page.o: page.c makefile
- underline.o: underline.c makefile
-
- examp: examp.c $(INCDIR)/term.h $(LIBDIR)/libterm.a makefile
- cc $(CFLAGS) -o examp examp.c -lterm -ltermcap
-
- install: libterm.a
- mv libterm.a $(LIBDIR)
- ranlib $(LIBDIR)/libterm.a
- cp term.h $(INCDIR)
-
- install_man: term.l
- cp term.l $(MANDIR)
- chmod 444 $(MANDIR)/term.l
-
- clean:
- rm -f *.o a.out core libterm.a
-