ack/lang/cem/ctest/ctprof/makefile
1988-04-07 15:30:37 +00:00

36 lines
744 B
Makefile

.SILENT:
CEM=pdp
head: gen
diffs:
echo No diffs in ctprof
egen: tp.e
echo comparing tp.e
-if test -f tp.e.g ; then diff tp.cem.r tp.e.g ; else echo creating tp.e.g ; cp tp.cem.r tp.e.g ; fi
rm -f tp.e
tp.e: tp.c
$(CEM) -p -c.e tp.c
tp.cem.r: tp.cem
echo running tp
-tp.cem >tp.cem.r
rm -f tp.cem
procentry.m: procentry.c
$(CEM) -c.m procentry.c
tp.cem: tp.c procentry.m
echo $(CEM) tp.c procentry.m
$(CEM) -p -o tp.cem -O tp.c procentry.m
rm -f procentry.[kosm] tp.[kmos]
gen: tp.cem.r
echo comparing tp
-if test -f tp.cem.g ; then diff tp.cem.r tp.cem.g ; else echo creating tp.cem.g ; cp tp.cem.r tp.cem.g ; fi
pr:
@pr `pwd`/*.c tp.cem.g
opr:
make pr | opr
clean:
-rm -f *.[kosme] *.old
transI transM cmpI cmpM: