diff --git a/sys/arch/i386/stand/Makefile.booters b/sys/arch/i386/stand/Makefile.booters index f47ad518e6b4..4f9fa0a1792a 100644 --- a/sys/arch/i386/stand/Makefile.booters +++ b/sys/arch/i386/stand/Makefile.booters @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.booters,v 1.53 2003/10/08 18:20:15 dsl Exp $ +# $NetBSD: Makefile.booters,v 1.54 2003/10/08 18:38:43 dsl Exp $ .include @@ -72,6 +72,7 @@ lib: .ifdef LIBOBJ -rm -f $@ ln -s ${LIBOBJ}/lib . + [ -d ${LIBOBJ}/lib ] || mkdir ${LIBOBJ}/lib .else mkdir lib .endif diff --git a/sys/arch/i386/stand/netboot/Makefile b/sys/arch/i386/stand/netboot/Makefile index 635350841f5f..a8cd9e79d6a3 100644 --- a/sys/arch/i386/stand/netboot/Makefile +++ b/sys/arch/i386/stand/netboot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2003/10/08 18:20:15 dsl Exp $ +# $NetBSD: Makefile,v 1.28 2003/10/08 18:38:43 dsl Exp $ SUBDIR+= 3c509 SUBDIR+= .WAIT @@ -14,3 +14,8 @@ LIBOBJ= ${.OBJDIR} .MAKEOVERRIDES+= LIBOBJ .include + +cleandir distclean: cleanlibdir + +cleanlibdir: + -rm -rf lib