Ensure that generated headers are here before we build .depend

and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.
This commit is contained in:
Ruslan Ermilov 2004-01-11 20:45:46 +00:00
parent ac34dc4e79
commit 2eb3a038d7

View File

@ -34,13 +34,7 @@ str-$i.j str-$i.h: str-$i.fin fini
FINIHDRS+= str-$i.j str-$i.h
.endfor
SRCS+= ${FINIHDRS:M*.h}
CLEANFILES+= ${FINIHDRS}
.include <bsd.prog.mk>
#-----------------------------------------------------------------------
# Fixups.
.if !exists(${DEPENDFILE})
${OBJS:Nproj.o} ${DEPENDFILE}: ${FINIHDRS}
.endif