Made compilation command and interpreter command variable

This commit is contained in:
ceriel 1989-11-29 16:12:47 +00:00
parent 75cab1f389
commit 7c723a8e48

View file

@ -6,18 +6,20 @@ FLOATS=-DNOFLOAT
# for machines with software floating point library: # for machines with software floating point library:
FLOATS=-fp FLOATS=-fp
PC = apc PC = apc
INTPC = em44
INT = int
all: testC testI all: testC testI
testI: testI:
em22 $(FLOATS) t1.p; int $(INTPC) $(FLOATS) t1.p; $(INT)
em22 $(FLOATS) t2.p; int $(INTPC) $(FLOATS) t2.p; $(INT)
em22 $(FLOATS) t3.p; int e.out f1 f2 f3 f4 f5 f6 $(INTPC) $(FLOATS) t3.p; $(INT) e.out f1 f2 f3 f4 f5 f6
em22 $(FLOATS) t4.p; int $(INTPC) $(FLOATS) t4.p; $(INT)
em22 $(FLOATS) t5.p; int $(INTPC) $(FLOATS) t5.p; $(INT)
em22 $(FLOATS) tstenc.p; int $(INTPC) $(FLOATS) tstenc.p; $(INT)
em22 $(FLOATS) tstgto.p; int $(INTPC) $(FLOATS) tstgto.p; $(INT)
em22 $(FLOATS) -.p callc.p cmod.c ; int $(INTPC) $(FLOATS) -.p callc.p cmod.c ; $(INT)
rm -f e.out f? *.k int.log int.mess rm -f e.out f? *.k int.log int.mess
testC: testC: