#
# termcap/Makefile
#
default: termcap.a

DEFS   = -DHAVE_STRING_H -DSTDC_HEADERS -DHAVE_UNISTD_H -DNO_ARG_ARRAY
CFLAGS = -O -DEMX $(DEFS)

.c.o:
	gcc -c $(CFLAGS) $<

termcap.a: termcap.o tparam.o version.o
	-del termcap.a
	ar r termcap.a termcap.o tparam.o version.o
	ar s termcap.a
