Subversion Repositories planix.SVN

Rev

Rev 41 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
36 7u83 1
#	@(#)Makefile	5.10 (Berkeley) 6/1/90
2
 
3
LIB=	termcap
104 7u83 4
CFLAGS=-DCM_N -DCM_GT -DCM_B -DCM_D
41 7u83 5
#SRCS=	termcap.c tgoto.c 
36 7u83 6
 
7
MAN3=	termcap.0
8
MLINKS=	termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \
9
	termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3
10
LINKS=	${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a \
11
	${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
12
 
41 7u83 13
#OBJS=$($RCS:.c=.o)
104 7u83 14
CFLAGS+=-std=c89 -Wall -pedantic 
41 7u83 15
 
16
OBJS=termcap.o tgoto.o tputs.o
17
 
18
#for ofile in $(SRCS); do \
19
#	echo $$number ; \
20
#done
21
 
22
TARGET=libtermcap.a
23
 
24
$TARGET: $(OBJS)
25
	$(AR) rc $(TARGET) $(OBJS) 
26
 
27
 
28
 
29
.c.o: 
30
	$(CC) -c $(CFLAGS) -c $<
31
 
32
clean:
104 7u83 33
	rm -f *.a
34
	rm -f *.o
41 7u83 35