Pristine Ack-5.5
[Ack-5.5.git] / lang / pc / test / Makefile
1 # $Id: Makefile,v 2.8 1994/06/24 12:36:38 ceriel Exp $
2
3 FLOATS=
4 # for machines without floating point:
5 FLOATS=-DNOFLOAT
6 # for machines with software floating point library:
7 FLOATS=-fp
8 PC = apc
9 INTPC = em44
10 INT = int
11
12 all:            testC testI
13
14 testI:
15                 $(INTPC) $(FLOATS) t1.p; $(INT)
16                 $(INTPC) $(FLOATS) t2.p; $(INT)
17                 $(INTPC) $(FLOATS) t3.p; $(INT) e.out f1 f2 f3 f4 f5 f6
18                 $(INTPC) $(FLOATS) t4.p; $(INT)
19                 $(INTPC) $(FLOATS) t5.p; $(INT)
20                 $(INTPC) $(FLOATS) tstenc.p; $(INT)
21                 $(INTPC) $(FLOATS) tstgto.p; $(INT)
22                 $(INTPC) $(FLOATS) -.p callc.p cmod.c ; $(INT)
23                 rm -f e.out f? *.k int.log int.mess
24
25 testC:
26                 $(PC) $(FLOATS) t1.p ; a.out
27                 $(PC) $(FLOATS) t2.p ; a.out
28                 $(PC) $(FLOATS) t3.p ; a.out f1 f2 f3 f4 f5 f6
29                 $(PC) $(FLOATS) t4.p ; a.out
30                 $(PC) $(FLOATS) t5.p ; a.out
31                 $(PC) $(FLOATS) tstenc.p ; a.out
32                 $(PC) $(FLOATS) tstgto.p ; a.out
33                 $(PC) $(FLOATS) callc.p cmod.c ; a.out
34                 rm -f a.out f? *.[os]
35
36 install cmp:
37
38 clean:
39                 -rm -f [ea].out f? *.o
40
41 opr:
42                 make pr | opr
43
44 pr:
45                 @pr t[12345].p tstenc.p tstgto.p callc.p cmod.c