Debian Codegraph @

INSTALL/Makefile

raw
1 TOPSRCDIR = ..
2 include $(TOPSRCDIR)/make.inc
3
4 .PHONY: all testlsame testslamch testdlamch testsecond testdsecnd testieee testversion test_zcomplexabs test_zcomplexdiv test_zcomplexmult test_zminMax
5 all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion test_zcomplexabs test_zcomplexdiv test_zcomplexmult test_zminMax
6
7 testlsame: lsame.o lsametst.o
8 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
9
10 testslamch: slamch.o lsame.o slamchtst.o
11 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
12
13 testdlamch: dlamch.o lsame.o dlamchtst.o
14 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
15
16 testsecond: second_$(TIMER).o secondtst.o
17 @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
18 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
19
20 testdsecnd: dsecnd_$(TIMER).o dsecndtst.o
21 @echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
22 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
23
24 testieee: tstiee.o $(TOPSRCDIR)/SRC/ieeeck.o $(TOPSRCDIR)/SRC/ilaenv.o $(TOPSRCDIR)/SRC/iparmq.o
25 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
26
27 testversion: ilaver.o LAPACK_version.o
28 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
29
30 test_zcomplexabs: test_zcomplexabs.o
31 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
32
33 test_zcomplexdiv: test_zcomplexdiv.o
34 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
35
36 test_zcomplexmult: test_zcomplexmult.o
37 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
38
39 test_zminMax: test_zminMax.o
40 $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
41
42 .PHONY: run
43 run: all
44 ./testlsame
45 ./testslamch
46 ./testdlamch
47 ./testsecond
48 ./testdsecnd
49 ./testieee
50 ./testversion
51 ./test_zcomplexabs 2> test_zcomplexabs.err
52 ./test_zcomplexdiv 2> test_zcomplexdiv.err
53 ./test_zcomplexmult 2> test_zcomplexmult.err
54 ./test_zminMax 2> test_zminMax.err
55
56 .PHONY: clean cleanobj cleanexe cleantest
57 clean: cleanobj cleanexe cleantest
58 cleanobj:
59 rm -f *.o
60 cleanexe:
61 rm -f testlsame testslamch testdlamch testsecond testdsecnd testieee testversion test_zcomplexabs test_zcomplexdiv test_zcomplexmult test_zminMax
62 cleantest:
63 rm -f core
64
65 slamch.o: slamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
66 dlamch.o: dlamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
67
68 sroundup_lwork.o: sroundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
69 droundup_lwork.o: droundup_lwork.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<