From eb0030af45c5dd270f7e739adf0abf6b2d6e69c5 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 28 Jan 1987 22:26:27 +0000 Subject: [PATCH] generate .o files --- mach/i80/libbc/Makefile | 3 ++- mach/i80/libbc/compmodule | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mach/i80/libbc/Makefile b/mach/i80/libbc/Makefile index 7d7e95e91..4dd52b755 100644 --- a/mach/i80/libbc/Makefile +++ b/mach/i80/libbc/Makefile @@ -1,5 +1,6 @@ +SUF=o MAKEFILE=../../proto/libg/Makefile -MACHDEF="MACH=i80" "SUF=s" +MACHDEF="MACH=i80" "SUF=$(SUF)" "ASAR=aal" BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib" install: diff --git a/mach/i80/libbc/compmodule b/mach/i80/libbc/compmodule index e7e4da63c..17151513e 100755 --- a/mach/i80/libbc/compmodule +++ b/mach/i80/libbc/compmodule @@ -1,4 +1,4 @@ if ${MACH?ack} -DCPM -I../../../h ${MACHFL?} $1 1>&2 -then echo `basename $1 $2`.s -else rm -f `basename $1 $2`.s +then echo `basename $1 $2`.o +else exit 1 fi -- 2.34.1