diff --git a/mach/em24/libm2/Makefile b/mach/em24/libm2/Makefile new file mode 100644 index 000000000..c034e3862 --- /dev/null +++ b/mach/em24/libm2/Makefile @@ -0,0 +1,24 @@ +SUF=m +MAKEFILE=../../proto/libg/Makefile +MACHDEF="MACH=int24" "SUF=$(SUF)" +M2DEF="PREF=m2" "SUB=" "SRC=lang/m2/libm2" + +all: + make -f $(MAKEFILE) $(M2DEF) $(MACHDEF) all + +install: + make -f $(MAKEFILE) $(M2DEF) $(MACHDEF) cp + +cmp: + make -f $(MAKEFILE) $(M2DEF) $(MACHDEF) all + -../../compare head_pc + -../../compare tail_pc + +clean: + -rm -f *.old *.[ce$(SUF)] tail* head* + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/em24/libm2/compmodule b/mach/em24/libm2/compmodule new file mode 100755 index 000000000..08ea80fe9 --- /dev/null +++ b/mach/em24/libm2/compmodule @@ -0,0 +1,4 @@ +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.m +else exit 1 +fi