1include ../Make.defines 2 3PROGS = accept_eintr test1 treadline1 treadline2 treadline3 \ 4 tsnprintf tisfdtype 5 6TEST1_OBJS = test1.o funcs.o 7 8all: ${PROGS} 9 10test1: ${TEST1_OBJS} 11 ${CC} ${CFLAGS} -o $@ ${TEST1_OBJS} ${LIBS} 12 13test2: test2.o 14 ${CC} ${CFLAGS} -o $@ test2.o ${LIBS} 15 16accept_eintr: accept_eintr.o 17 ${CC} ${CFLAGS} -o $@ accept_eintr.o ${LIBS} 18 19treadline1: treadline1.o readline1.o 20 ${CC} ${CFLAGS} -o $@ treadline1.o readline1.o ${LIBS} 21 22treadline2: treadline2.o readline2.o 23 ${CC} ${CFLAGS} -o $@ treadline2.o readline2.o ${LIBS} 24 25treadline3: treadline3.o readline3.o 26 ${CC} ${CFLAGS} -o $@ treadline3.o readline3.o ${LIBS} 27 28tsnprintf: tsnprintf.o 29 ${CC} ${CFLAGS} -o $@ tsnprintf.o ${LIBS} 30 31tisfdtype: tisfdtype.o 32 ${CC} ${CFLAGS} -o $@ tisfdtype.o ${LIBS} 33 34clean: 35 rm -f ${PROGS} core core.* *.o temp.* *.out typescript* 36