-# $OpenBSD: Makefile.i386,v 1.11 1996/05/10 12:13:19 mickey Exp $
+# $OpenBSD: Makefile.i386,v 1.12 1996/05/10 12:19:12 mickey Exp $
# $NetBSD: Makefile.i386,v 1.66 1996/02/29 20:56:16 cgd Exp $
# Makefile for OpenBSD
echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
sort -u | comm -23 - dontlink | \
sed 's,.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
- sh makelinks && rm -f dontlink
+ sh makelinks && rm -f dontlink makelinks
# depend on APM
.include "${I386}/apm_init/Makefile.inc"