From a39c8cb67d452d417a7ad5eb092ec9e219ea876b Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Sun, 27 Jul 1997 10:47:49 +0000 Subject: [PATCH] List help.h a a dependancy for editline.c Use 'beforedepend' instead of '.depend' to hang automatically-generated headers off. XXX the latter is bogus without a 'beforeall' target and explicit ordering of dependancy generation for targets. --- lib/libedit/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 2f4fedaade0..835f8e69857 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -55,10 +55,10 @@ help.c: ${ASRC} makelist help.h: ${ASRC} makelist sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} -editline.c: ${OSRCS} +editline.c: ${OSRCS} help.h sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} -.depend: vi.h emacs.h common.h fcns.h help.h help.c +beforedepend: vi.h emacs.h common.h fcns.h help.h help.c test: test.o libedit.a ${DPADD} ${LIBTERMCAP} ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}