Make parallel build more safer.
Reviewed by: tijl
This commit is contained in:
parent
4b86692e31
commit
076a12a93b
@ -75,19 +75,21 @@ CLEANFILES= aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
|
||||
aslcompilerlex.c: aslcompiler.l
|
||||
${LEX} ${LFLAGS} -PAslCompiler -o${.TARGET} ${.ALLSRC}
|
||||
|
||||
aslcompilerparse.c: aslcompiler.y
|
||||
${YACC} ${YFLAGS} -pAslCompiler -o${.TARGET} ${.ALLSRC}
|
||||
.ORDER: aslcompilerparse.c aslcompilerparse.h
|
||||
aslcompilerparse.c aslcompilerparse.h: aslcompiler.y
|
||||
${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c ${.ALLSRC}
|
||||
|
||||
aslcompiler.y.h: aslcompilerparse.c
|
||||
mv -f aslcompilerparse.h ${.TARGET}
|
||||
aslcompiler.y.h: aslcompilerparse.h
|
||||
ln -f ${.ALLSRC} ${.TARGET}
|
||||
|
||||
dtparserlex.c: dtparser.l
|
||||
${LEX} ${LFLAGS} -PDtParser -o${.TARGET} ${.ALLSRC}
|
||||
|
||||
dtparserparse.c: dtparser.y
|
||||
${YACC} ${YFLAGS} -pDtParser -o${.TARGET} ${.ALLSRC}
|
||||
.ORDER: dtparserparse.c dtparserparse.h
|
||||
dtparserparse.c dtparserparse.h: dtparser.y
|
||||
${YACC} ${YFLAGS} -pDtParser -odtparserparse.c ${.ALLSRC}
|
||||
|
||||
dtparser.y.h: dtparserparse.c
|
||||
mv -f dtparserparse.h ${.TARGET}
|
||||
dtparser.y.h: dtparserparse.h
|
||||
ln -f ${.ALLSRC} ${.TARGET}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user