+SUF=m
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=int22" "SUF=m"
+MACHDEF="MACH=int22" "SUF=$(SUF)"
BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib"
install:
-${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2
-echo `basename $1 $2`.m
+if ${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2
+then echo `basename $1 $2`.m
+else exit 1
+fi
+SUF=m
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=int" "SUF=m"
+MACHDEF="MACH=int" "SUF=$(SUF)"
PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
install:
-${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2
-echo `basename $1 $2`.m
+if ${MACH?} -I../../../h ${MACHFL?} -LIB $1 1>&2
+then echo `basename $1 $2`.m
+else exit 1
+fi