-${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2
-echo `basename $1 $2`.s
+if ${MACH?ack} -DCPM -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.s
+else rm -f `basename $1 $2`.s
+fi
MAKEFILE=../../proto/libg/Makefile
-MACHDEF="MACH=8080" "SUF=s"
+MACHDEF="MACH=i80" "SUF=s"
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"
--- /dev/null
+install: tail
+ ../../install tail tail_em
+
+cmp: tail
+ -../../compare tail tail_em
+
+tail:
+ arch cr `cat LIST`
+
+opr:
+ make pr | opr
+pr:
+ @pr `pwd`/Makefile
+ @pr -l33 `tail +1 LIST|sort`
--- /dev/null
+MAKEFILE=../../proto/libg/Makefile
+MACHDEF="MACH=i80" "SUF=s"
+PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
+
+install:
+ make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) cp
+
+cmp:
+ make -f $(MAKEFILE) $(PCDEF) $(MACHDEF) all
+ -../../compare head_pc
+ -../../compare tail_pc
+
+clean:
+ -rm -f *.old *.[ce$(SUF)] tail* head*
+
+opr:
+ make pr | opr
+
+pr:
+ @pr Makefile
--- /dev/null
+if ${MACH?ack} -DCPM -I../../../h ${MACHFL?} $1 1>&2
+then echo `basename $1 $2`.s
+else rm -f `basename $1 $2`.s
+fi