Only include dependency on include-dirs if the include directory doesn't

exist.
This commit is contained in:
matt 2001-06-11 17:50:34 +00:00
parent ba4b09844f
commit 95be56d2e1
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm,v 1.1 2001/06/11 17:44:38 matt Exp $
# $NetBSD: Makefile.arm,v 1.2 2001/06/11 17:50:34 matt Exp $
# Makefile for NetBSD
#
@ -187,6 +187,7 @@ depend: .depend
dependall: depend all
.if !exists(include)
${OBJS} assym.h .depend: include-dir
include-dir:
@rm -rf include
@ -198,6 +199,7 @@ include-dir:
@ln -s $S/arch/${TARGET_MACHINE}/include include/arm/${TARGET_MACHINE}
@ln -s $S/arch/arm/include include/machine
.endif
.endif
# depend on root or device configuration
autoconf.o conf.o: Makefile