fix the cleanfiles for hooks mechanism
This commit is contained in:
parent
76c587cf23
commit
7b319e81c3
5
external/gpl3/gcc.old/Makefile.hooks
vendored
5
external/gpl3/gcc.old/Makefile.hooks
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.hooks,v 1.3 2017/07/23 01:10:50 mrg Exp $
|
||||
# $NetBSD: Makefile.hooks,v 1.4 2018/03/13 03:17:01 mrg Exp $
|
||||
|
||||
#
|
||||
# Makefile fragment to build genhooks and *target-hooks*.h
|
||||
@ -9,8 +9,9 @@ gen${f}.lo: ${HH} gen${f}.c
|
||||
gen${f}: gen${f}.lo ${GENPROG_ERROR_DEPENDS}
|
||||
${_MKTARGET_LINK}
|
||||
${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
|
||||
CLEANFILES+= genhooks
|
||||
CLEANFILES+= genhooks gen${f}.lo
|
||||
.endfor
|
||||
CLEANFILES+= ${GENPROG_ERROR_DEPENDS}
|
||||
|
||||
# and now the outputs of genhooks
|
||||
target-hooks-def.h: genhooks
|
||||
|
5
external/gpl3/gcc/Makefile.hooks
vendored
5
external/gpl3/gcc/Makefile.hooks
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.hooks,v 1.1 2014/03/01 10:00:31 mrg Exp $
|
||||
# $NetBSD: Makefile.hooks,v 1.2 2018/03/13 03:17:01 mrg Exp $
|
||||
|
||||
#
|
||||
# Makefile fragment to build genhooks and *target-hooks*.h
|
||||
@ -9,8 +9,9 @@ gen${f}.lo: ${HH} gen${f}.c
|
||||
gen${f}: gen${f}.lo ${GENPROG_ERROR_DEPENDS}
|
||||
${_MKTARGET_LINK}
|
||||
${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}}
|
||||
CLEANFILES+= genhooks
|
||||
CLEANFILES+= genhooks gen${f}.lo
|
||||
.endfor
|
||||
CLEANFILES+= ${GENPROG_ERROR_DEPENDS}
|
||||
|
||||
# and now the outputs of genhooks
|
||||
target-hooks-def.h: genhooks
|
||||
|
Loading…
Reference in New Issue
Block a user