# /emx/termcap/makefile

CC=gcc
AR=ar
CFLAGS=-DEMX
TERMCAP=\emx\lib\termcap.a

.SUFFIXES: .o

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

default: $(TERMCAP)

$(TERMCAP): termcap.o tparam.o
	-del $(TERMCAP)
	$(AR) r $(TERMCAP) termcap.o tparam.o
	$(AR) s $(TERMCAP)

termcap.o: termcap.c
tparam.o: tparam.c
