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:
parent
ac34dc4e79
commit
2eb3a038d7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user