Browse Source

generate .o files

ceriel 37 years ago
parent
commit
52b0781eee
2 changed files with 4 additions and 3 deletions
  1. 2 1
      mach/i80/libbc/Makefile
  2. 2 2
      mach/i80/libbc/compmodule

+ 2 - 1
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:

+ 2 - 2
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