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.
This commit is contained in:
Mike Smith 1997-07-27 10:47:49 +00:00
parent dc2efb2766
commit a39c8cb67d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27717

View File

@ -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}