home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume3
/
libc_term
/
Makefile
< prev
next >
Wrap
Makefile
|
1986-11-30
|
956b
|
37 lines
CFLAGS = -O
LIBDIR = /usr/local/lib
MANDIR = /usr/man/manl
INCDIR = /usr/include
OBJS = init_term.o get_erase.o get_float.o get_int.o\
get_bool.o get_hosp_num.o get_string.o pick_one.o\
center.o
libc_term.a: $(OBJS) Makefile
ar rcv libc_term.a $(OBJS)
ranlib libc_term.a
init_term.o: init_term.c c_term.h Makefile
get_erase.o: get_erase.c c_term.h Makefile
get_float.o: get_float.c c_term.h Makefile
get_int.o: get_int.c c_term.h Makefile
get_bool.o: get_bool.c c_term.h Makefile
get_hosp_num.o: get_hosp_num.c c_term.h Makefile
get_string.o: get_string.c c_term.h Makefile
pick_one.o: pick_one.c c_term.h Makefile
center.o: center.c c_term.h Makefile
examp: examp.c c_term.h /usr/local/lib/libc_term.a Makefile
cc $(CFLAGS) -o examp examp.c -lc_term -lcurses -ltermcap
install: libc_term.a
mv libc_term.a $(LIBDIR)
ranlib $(LIBDIR)/libc_term.a
cp c_term.h $(INCDIR)
install_man: c_term.l
cp c_term.l $(MANDIR)
clean:
rm -f *.o a.out core