Rev 36 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# @(#)Makefile 5.10 (Berkeley) 6/1/90
LIB= termcap
CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
#SRCS= termcap.c tgoto.c
MAN3= termcap.0
MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \
termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a \
${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
#OBJS=$($RCS:.c=.o)
CFLAGS+=-std=c89
OBJS=termcap.o tgoto.o tputs.o
#for ofile in $(SRCS); do \
# echo $$number ; \
#done
TARGET=libtermcap.a
$TARGET: $(OBJS)
$(AR) rc $(TARGET) $(OBJS)
.c.o:
$(CC) -c $(CFLAGS) -c $<
clean:
rm *.a
rm *.o