1985-02-06 21:25:27 +00:00
|
|
|
.SILENT:
|
1985-02-15 23:10:04 +00:00
|
|
|
CEM=i86 -DNOFLOAT
|
1985-02-06 21:25:27 +00:00
|
|
|
head:
|
|
|
|
echo use run
|
|
|
|
|
|
|
|
diffs: $P.pcc.r $P.cc.r $P.cem.r
|
|
|
|
echo three compiler diff
|
|
|
|
-diff3 $P.*.r | tee diffs
|
|
|
|
egen: $P.e
|
|
|
|
echo comparing $P.e
|
|
|
|
-if test -f $P.e.g ; then diff -h $P.e $P.e.g ; else echo creating $P.e.g ; cp $P.e $P.e.g ; fi
|
|
|
|
rm -f $P.e
|
|
|
|
$P.e: $P.c $(CEM)
|
|
|
|
$(CEM) -c.e $P.c
|
|
|
|
$P.pcc.r: $P.pcc
|
|
|
|
echo running $P.pcc
|
|
|
|
-$P.pcc >$P.pcc.r
|
|
|
|
rm -f $P.pcc
|
|
|
|
$P.cc.r: $P.cc
|
|
|
|
echo running $P.cc
|
|
|
|
-$P.cc >$P.cc.r
|
|
|
|
rm -f $P.cc
|
|
|
|
$P.cem.r: $P.cem
|
|
|
|
echo running $P.cem
|
|
|
|
idl I7 $P.cem
|
|
|
|
-talk I7 >$P.cem.r
|
|
|
|
rm -f $P.cem
|
|
|
|
$P.pcc: $P.c /usr/lib/ccom
|
|
|
|
echo pcc $P.c
|
|
|
|
pcc -o $P.pcc $P.c
|
|
|
|
$P.cc: $P.c /lib/c0 /lib/c1
|
|
|
|
echo cc $P.c
|
|
|
|
cc -o $P.cc $P.c
|
|
|
|
$P.cem: $P.c
|
|
|
|
echo $(CEM) $P.c
|
|
|
|
$(CEM) -o $P.cem $P.c
|
|
|
|
gen: $P.cem.r
|
|
|
|
echo comparing $P
|
|
|
|
-if test -f $P.cem.g ; then diff -h $P.cem.r $P.cem.g ; else echo creating $P.cem.g ; cp $P.cem.r $P.cem.g ; fi
|
|
|
|
|
|
|
|
install cmp:
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr `pwd`/$P.c `pwd`/$P.cem.g
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $P.[kmsoe] core a.out *.old
|