From f42366dd914e073b5636b912a1b7b85e77ffd562 Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 4 Jun 1985 10:26:06 +0000 Subject: [PATCH] A version that tells march to not try to include objects of modules that failed to translate in the library. --- mach/m68k2/libcc/compmodule | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mach/m68k2/libcc/compmodule b/mach/m68k2/libcc/compmodule index 28461326..6327cb99 100755 --- a/mach/m68k2/libcc/compmodule +++ b/mach/m68k2/libcc/compmodule @@ -1,2 +1,6 @@ -${MACH?} -I../../../h ${MACHFL?} $1 1>&2 -echo `basename $1 $2`.s +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi