improved; now also runs with interpreter
This commit is contained in:
parent
20f4177c29
commit
420ca09aee
2 changed files with 10 additions and 9 deletions
|
@ -9,19 +9,12 @@ egen: tp.e
|
||||||
rm -f tp.e
|
rm -f tp.e
|
||||||
tp.e: tp.c
|
tp.e: tp.c
|
||||||
$(CEM) -p -c.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
|
procentry.m: procentry.c
|
||||||
$(CEM) -c.m procentry.c
|
$(CEM) -c.m procentry.c
|
||||||
tp.cem: tp.c procentry.m
|
tp.cem: tp.c procentry.m
|
||||||
echo $(CEM) tp.c procentry.m
|
echo $(CEM) tp.c procentry.m
|
||||||
$(CEM) -p -o tp.cem -O tp.c procentry.m
|
$(CEM) -p -o tp.cem -O tp.c procentry.m
|
||||||
rm -f procentry.[kosm] tp.[kmos]
|
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:
|
||||||
@pr `pwd`/*.c tp.cem.g
|
@pr `pwd`/*.c tp.cem.g
|
||||||
|
@ -30,6 +23,6 @@ opr:
|
||||||
make pr | opr
|
make pr | opr
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f *.[kosme] *.old
|
-rm -f *.[kosme] *.old em_last em_runinf
|
||||||
|
|
||||||
transI transM cmpI cmpM:
|
transI transM cmpI cmpM:
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
echo test profiling
|
echo test profiling
|
||||||
make -k "`grep CEM= ../makefile`" ${1-gen}
|
case ${1-gen} in
|
||||||
|
gen|tp.cem.r)
|
||||||
|
make -k "`grep CEM= ../makefile`" tp.cem
|
||||||
|
make "P=tp" -fsk ../makefile ${1-gen}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
make -k "`grep CEM= ../makefile`" $1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue