1994-06-24 14:02:31 +00:00
|
|
|
# $Id$
|
1984-07-12 14:05:03 +00:00
|
|
|
|
1989-06-15 19:11:01 +00:00
|
|
|
FLOATS=
|
|
|
|
# for machines without floating point:
|
|
|
|
FLOATS=-DNOFLOAT
|
|
|
|
# for machines with software floating point library:
|
|
|
|
FLOATS=-fp
|
|
|
|
PC = apc
|
1989-11-29 16:12:47 +00:00
|
|
|
INTPC = em44
|
|
|
|
INT = int
|
1987-07-13 16:50:57 +00:00
|
|
|
|
1984-07-12 13:50:44 +00:00
|
|
|
all: testC testI
|
|
|
|
|
|
|
|
testI:
|
1989-11-29 16:12:47 +00:00
|
|
|
$(INTPC) $(FLOATS) t1.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) t2.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) t3.p; $(INT) e.out f1 f2 f3 f4 f5 f6
|
|
|
|
$(INTPC) $(FLOATS) t4.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) t5.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) tstenc.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) tstgto.p; $(INT)
|
|
|
|
$(INTPC) $(FLOATS) -.p callc.p cmod.c ; $(INT)
|
1989-06-15 19:11:01 +00:00
|
|
|
rm -f e.out f? *.k int.log int.mess
|
1984-07-12 13:50:44 +00:00
|
|
|
|
|
|
|
testC:
|
1989-06-15 19:11:01 +00:00
|
|
|
$(PC) $(FLOATS) t1.p ; a.out
|
|
|
|
$(PC) $(FLOATS) t2.p ; a.out
|
|
|
|
$(PC) $(FLOATS) t3.p ; a.out f1 f2 f3 f4 f5 f6
|
|
|
|
$(PC) $(FLOATS) t4.p ; a.out
|
|
|
|
$(PC) $(FLOATS) t5.p ; a.out
|
|
|
|
$(PC) $(FLOATS) tstenc.p ; a.out
|
|
|
|
$(PC) $(FLOATS) tstgto.p ; a.out
|
|
|
|
$(PC) $(FLOATS) callc.p cmod.c ; a.out
|
1985-01-17 12:43:51 +00:00
|
|
|
rm -f a.out f? *.[os]
|
1984-07-12 13:50:44 +00:00
|
|
|
|
|
|
|
install cmp:
|
|
|
|
|
|
|
|
clean:
|
1987-07-13 16:50:57 +00:00
|
|
|
-rm -f [ea].out f? *.o
|
1984-07-12 13:50:44 +00:00
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
1985-01-31 10:53:59 +00:00
|
|
|
@pr t[12345].p tstenc.p tstgto.p callc.p cmod.c
|