From 97f8083ee018109072b0ee3a12f26ae87070e9b0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 8 Jan 1987 11:09:06 +0000 Subject: [PATCH] adapted to get .o files --- mach/i86/libbc/Makefile | 4 ++-- mach/i86/libbc/compmodule | 8 ++++++-- mach/i86/libpc/Makefile | 4 ++-- mach/i86/libpc/compmodule | 8 ++++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/mach/i86/libbc/Makefile b/mach/i86/libbc/Makefile index 69179491b..0b1a1cb56 100644 --- a/mach/i86/libbc/Makefile +++ b/mach/i86/libbc/Makefile @@ -1,5 +1,5 @@ MAKEFILE=../../proto/libg/Makefile -MACHDEF="MACH=i86" "SUF=s" +MACHDEF="MACH=i86" "SUF=o" "ASAR=aal" BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib" install: @@ -11,7 +11,7 @@ cmp: -../../compare tail_bc clean: - -rm -f *.old *.[ce$(SUF)] tail* head* + -rm -f *.old *.[ce$(SUF)] tail* head* opr: make pr | opr diff --git a/mach/i86/libbc/compmodule b/mach/i86/libbc/compmodule index 2bcf66ca5..6327cb991 100755 --- a/mach/i86/libbc/compmodule +++ b/mach/i86/libbc/compmodule @@ -1,2 +1,6 @@ -${MACH?ack} -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 diff --git a/mach/i86/libpc/Makefile b/mach/i86/libpc/Makefile index 5c669cf09..546722ac0 100644 --- a/mach/i86/libpc/Makefile +++ b/mach/i86/libpc/Makefile @@ -1,5 +1,5 @@ MAKEFILE=../../proto/libg/Makefile -MACHDEF="MACH=i86" "SUF=s" +MACHDEF="MACH=i86" "SUF=o" "ASAR=aal" PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc" install: @@ -11,7 +11,7 @@ cmp: -../../compare tail_pc clean: - -rm -f *.old *.[ce$(SUF)] tail* head* + -rm -f *.old *.[ce$(SUF)] tail* head* opr: make pr | opr diff --git a/mach/i86/libpc/compmodule b/mach/i86/libpc/compmodule index 2bcf66ca5..6327cb991 100755 --- a/mach/i86/libpc/compmodule +++ b/mach/i86/libpc/compmodule @@ -1,2 +1,6 @@ -${MACH?ack} -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