+SUF=o
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=z80" "SUF=s"
+MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal"
BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib"
install:
-if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2
-then echo `basename $1 $2`.s
-else rm -f `basename $1 $2`.s
+if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.o
+else exit 1
fi
+SUF=o
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=z80" "SUF=s"
+MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal"
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
MON="PREF=mon" "SRC=lang/cem/libcc/mon"
-if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2
-then echo `basename $1 $2`.s
-else rm -f `basename $1 $2`.s
+if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.o
+else exit 1
fi
+SUF=o
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=z80" "SUF=s"
+MACHDEF="MACH=z80" "SUF=$(SUF)" "ASAR=aal"
PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
install:
-if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2
-then echo `basename $1 $2`.s
-else rm -f `basename $1 $2`.s
+if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.o
+else exit 1
fi