2,7 → 2,7 |
|
LIB= termcap |
CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D |
SRCS= termcap.c tgoto.c tputs.c |
#SRCS= termcap.c tgoto.c |
|
MAN3= termcap.0 |
MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \ |
10,4 → 10,26 |
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a \ |
${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a |
|
.include <bsd.lib.mk> |
#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 |
|