diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-04 22:47:19 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-04 22:47:19 -0600 |
commit | a203318e676047587f146f644d2d4ae70e8b4d6b (patch) | |
tree | 21a1b8cc60bd1be41db78d7ae2544c1075713eeb /TESTING | |
parent | d91ece25a23c14e13d4957aab5fc6823a4a4ab2e (diff) | |
download | lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.tar.gz lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.tar.bz2 lapack-a203318e676047587f146f644d2d4ae70e8b4d6b.zip |
Add libraries as prerequisites
Use the automatic variable $^ to refer to all prerequisites when
linking or creating an archive.
Diffstat (limited to 'TESTING')
-rw-r--r-- | TESTING/EIG/Makefile | 30 | ||||
-rw-r--r-- | TESTING/LIN/Makefile | 50 | ||||
-rw-r--r-- | TESTING/MATGEN/Makefile | 10 |
3 files changed, 36 insertions, 54 deletions
diff --git a/TESTING/EIG/Makefile b/TESTING/EIG/Makefile index 1de4a737..80d8bd2e 100644 --- a/TESTING/EIG/Makefile +++ b/TESTING/EIG/Makefile @@ -125,25 +125,17 @@ complex: ../xeigtstc double: ../xeigtstd complex16: ../xeigtstz -../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ \ - $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ - ../../$(LAPACKLIB) $(BLASLIB) - -../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ \ - $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) \ - ../../$(LAPACKLIB) $(BLASLIB) - -../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ \ - $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ - ../../$(LAPACKLIB) $(BLASLIB) - -../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ \ - $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) \ - ../../$(LAPACKLIB) $(BLASLIB) +../xeigtsts: $(SEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ + +../xeigtstc: $(CEIGTST) $(SCIGTST) $(AEIGTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ + +../xeigtstd: $(DEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ + +../xeigtstz: $(ZEIGTST) $(DZIGTST) $(AEIGTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ $(AEIGTST): $(FRC) $(SCIGTST): $(FRC) diff --git a/TESTING/LIN/Makefile b/TESTING/LIN/Makefile index 1a7333a1..f5c63d3b 100644 --- a/TESTING/LIN/Makefile +++ b/TESTING/LIN/Makefile @@ -258,45 +258,35 @@ proto-double: ../xlintstds ../xlintstrfd proto-complex: ../xlintstrfc proto-complex16: ../xlintstzc ../xlintstrfz -../xlintsts: $(ALINTST) $(SLINTST) $(SCLNTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(SCLNTST) $(SLINTST) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) +../xlintsts: $(ALINTST) $(SLINTST) $(SCLNTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstc: $(ALINTST) $(CLINTST) $(SCLNTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(SCLNTST) $(CLINTST) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) +../xlintstc: $(ALINTST) $(CLINTST) $(SCLNTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstd: $(ALINTST) $(DLINTST) $(DZLNTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $^ \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) +../xlintstd: $(ALINTST) $(DLINTST) $(DZLNTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstz: $(ALINTST) $(ZLINTST) $(DZLNTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(ALINTST) $(DZLNTST) $(ZLINTST) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) +../xlintstz: $(ALINTST) $(ZLINTST) $(DZLNTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(XBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstds: $(DSLINTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(DSLINTST) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstds: $(DSLINTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstzc: $(ZCLINTST) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(ZCLINTST) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstzc: $(ZCLINTST) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstrfs: $(SLINTSTRFP) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(SLINTSTRFP) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstrfs: $(SLINTSTRFP) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstrfd: $(DLINTSTRFP) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(DLINTSTRFP) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstrfd: $(DLINTSTRFP) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstrfc: $(CLINTSTRFP) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(CLINTSTRFP) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstrfc: $(CLINTSTRFP) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -../xlintstrfz: $(ZLINTSTRFP) ../../$(LAPACKLIB) - $(LOADER) $(LOADOPTS) -o $@ $(ZLINTSTRFP) \ - ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) +../xlintstrfz: $(ZLINTSTRFP) ../../$(TMGLIB) ../../$(LAPACKLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ $(ALINTST): $(FRC) $(SCLNTST): $(FRC) diff --git a/TESTING/MATGEN/Makefile b/TESTING/MATGEN/Makefile index 4cc69f7e..c364bb65 100644 --- a/TESTING/MATGEN/Makefile +++ b/TESTING/MATGEN/Makefile @@ -58,23 +58,23 @@ ALLOBJ = $(SMATGEN) $(CMATGEN) $(SCATGEN) $(DMATGEN) $(ZMATGEN) \ $(DZATGEN) ../../$(TMGLIB): $(ALLOBJ) - $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) + $(ARCH) $(ARCHFLAGS) $@ $^ $(RANLIB) $@ single: $(SMATGEN) $(SCATGEN) - $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $(SMATGEN) $(SCATGEN) + $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ $(RANLIB) ../../$(TMGLIB) complex: $(CMATGEN) $(SCATGEN) - $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $(CMATGEN) $(SCATGEN) + $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ $(RANLIB) ../../$(TMGLIB) double: $(DMATGEN) $(DZATGEN) - $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $(DMATGEN) $(DZATGEN) + $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ $(RANLIB) ../../$(TMGLIB) complex16: $(ZMATGEN) $(DZATGEN) - $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $(ZMATGEN) $(DZATGEN) + $(ARCH) $(ARCHFLAGS) ../../$(TMGLIB) $^ $(RANLIB) ../../$(TMGLIB) $(SCATGEN): $(FRC) |