better dependency handling
This commit is contained in:
parent
4c07b5ae7d
commit
6b997b11db
|
@ -1,9 +1,8 @@
|
|||
# $NetBSD: Makefile.ops-c,v 1.2 2011/02/05 03:09:46 christos Exp $
|
||||
# $NetBSD: Makefile.ops-c,v 1.3 2011/02/05 19:13:48 christos Exp $
|
||||
|
||||
ops.c: ops.def
|
||||
ops.c: mkops ops.def Makefile.ops-c
|
||||
${_MKTARGET_CREATE}
|
||||
AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -c ${.ALLSRC} > ${.TARGET}
|
||||
AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -c ${.ALLSRC:M*ops.def} > ${.TARGET}
|
||||
|
||||
SRCS+= ops.c
|
||||
CLEANFILES+= ops.c
|
||||
DPSRCS+= ops.c
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile.ops-h,v 1.2 2011/02/05 03:09:46 christos Exp $
|
||||
# $NetBSD: Makefile.ops-h,v 1.3 2011/02/05 19:13:48 christos Exp $
|
||||
|
||||
ops.h: ops.def
|
||||
ops.h: ops.def mkops Makefile.ops-h
|
||||
${_MKTARGET_CREATE}
|
||||
AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -h ${.ALLSRC} > ${.TARGET}
|
||||
AWK=${TOOL_AWK:Q} ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/xlint/lint1/mkops -h ${.ALLSRC:M*ops.def} > ${.TARGET}
|
||||
|
||||
CLEANFILES+= ops.h
|
||||
DPSRCS+= ops.h
|
||||
|
||||
op.h: ops.h
|
||||
.BEGIN: ops.h
|
||||
|
|
Loading…
Reference in New Issue