From a4bfedc7ff4b534a19be3dbcbfd762bc4188386b Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 4 Dec 1989 12:48:18 +0000 Subject: [PATCH] added depend target; renamed smstest to mrtest --- clients/mrtest/Makefile | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/clients/mrtest/Makefile b/clients/mrtest/Makefile index 737ca36b..3dee0627 100644 --- a/clients/mrtest/Makefile +++ b/clients/mrtest/Makefile @@ -10,25 +10,36 @@ LIBS = ../rpc/libsms.a ../gdb/libgdb.a LLIBS= -L../lib -lkrb -ldes -lss -lcom_err -lm -lc +SRCS= test.c + COPTS= -O INCDIRS=-I../include CFLAGS= ${INCDIRS} ${COPTS} -.SUFFIXES: .ct +.SUFFIXES: .ct .c .o .ct.o: ; ../ss/make_commands $*.ct -all: smstest +all: mrtest -smstest: test_cmds.o test.o ${LIBS} - rm -f smstest +mrtest: test_cmds.o test.o ${LIBS} + rm -f mrtest cc ${COPTS} -o $@ test_cmds.o test.o ${LIBS} ${LLIBS} clean: rm -f *.o core \#* *~ gmon.out - rm -f smstest + rm -f mrtest + +install: mrtest + install -s mrtest ${DESTDIR}/usr/etc/mrtest + +depend: + mkdep ${CFLAGS} ${SRCS} + +# DO NOT DELETE THIS LINE -- mkdep uses it. -install: smstest - install -s smstest ${DESTDIR}/usr/etc/smstest +test.o: test.c ../include/mit-copyright.h /usr/include/stdio.h +test.o: /usr/include/sys/file.h /usr/include/ctype.h ../include/sms.h +test.o: ../include/sms_et.h ../include/ss.h -- 2.45.2