aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1997-07-27 10:47:49 +0000
committerMike Smith <msmith@FreeBSD.org>1997-07-27 10:47:49 +0000
commita39c8cb67d452d417a7ad5eb092ec9e219ea876b (patch)
tree1c29b7dd00cfcf342fc8e620e77b7dd615b5fec7
parentdc2efb276683982bd53bbc175754fef6c6b9e882 (diff)
downloadsrc-a39c8cb67d452d417a7ad5eb092ec9e219ea876b.tar.gz
src-a39c8cb67d452d417a7ad5eb092ec9e219ea876b.zip
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.
Notes
Notes: svn path=/head/; revision=27717
-rw-r--r--lib/libedit/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 2f4fedaade0d..835f8e698578 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}