summaryrefslogtreecommitdiff
path: root/TESTING
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-02-06 01:07:10 -0600
committerKyle Guinn <elyk03@gmail.com>2017-02-06 01:07:10 -0600
commit8fce0e24bdbf070a56eaffe993ef713980bd8028 (patch)
tree46889dd598f44b4c8d3373030c39effc246e11ef /TESTING
parent7daa32722f95d150f1d7229b71f1030c655eccd5 (diff)
downloadlapack-8fce0e24bdbf070a56eaffe993ef713980bd8028.tar.gz
lapack-8fce0e24bdbf070a56eaffe993ef713980bd8028.tar.bz2
lapack-8fce0e24bdbf070a56eaffe993ef713980bd8028.zip
Simplify the clean targets
cleanobj: Remove object files cleanlib: Remove libraries cleanexe: Remove test and example executables cleantest: Remove test output and core dumps clean: All of the above
Diffstat (limited to 'TESTING')
-rw-r--r--TESTING/EIG/Makefile9
-rw-r--r--TESTING/LIN/Makefile9
-rw-r--r--TESTING/MATGEN/Makefile7
-rw-r--r--TESTING/Makefile5
4 files changed, 20 insertions, 10 deletions
diff --git a/TESTING/EIG/Makefile b/TESTING/EIG/Makefile
index a614ee02..78046125 100644
--- a/TESTING/EIG/Makefile
+++ b/TESTING/EIG/Makefile
@@ -26,7 +26,7 @@ include ../../make.inc
#
# To remove the object files after the executable files have been
# created, enter
-# make clean
+# make cleanobj
# On some systems, you can force the source files to be recompiled by
# entering (for example)
# make single FRC=FRC
@@ -147,8 +147,11 @@ $(ZEIGTST): $(FRC)
FRC:
@FRC=$(FRC)
-clean:
- rm -f *.o xeigtst*
+clean: cleanobj cleanexe
+cleanobj:
+ rm -f *.o
+cleanexe:
+ rm -f xeigtst*
schkee.o: schkee.f
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
diff --git a/TESTING/LIN/Makefile b/TESTING/LIN/Makefile
index 4dc891c1..f554bea0 100644
--- a/TESTING/LIN/Makefile
+++ b/TESTING/LIN/Makefile
@@ -26,7 +26,7 @@ include ../../make.inc
#
# To remove the object files after the executable files have been
# created, enter
-# make clean
+# make cleanobj
# On some systems, you can force the source files to be recompiled by
# entering (for example)
# make single FRC=FRC
@@ -298,8 +298,11 @@ $(ZLINTST): $(FRC)
FRC:
@FRC=$(FRC)
-clean:
- rm -f *.o xlintst*
+clean: cleanobj cleanexe
+cleanobj:
+ rm -f *.o
+cleanexe:
+ rm -f xlintst*
schkaa.o: schkaa.f
$(FORTRAN) $(DRVOPTS) -c -o $@ $<
diff --git a/TESTING/MATGEN/Makefile b/TESTING/MATGEN/Makefile
index c364bb65..06f09de3 100644
--- a/TESTING/MATGEN/Makefile
+++ b/TESTING/MATGEN/Makefile
@@ -25,7 +25,7 @@ include ../../make.inc
# and is created at the LAPACK directory level.
#
# To remove the object files after the library is created, enter
-# make clean
+# make cleanobj
# On some systems, you can force the source files to be recompiled by
# entering (for example)
# make single FRC=FRC
@@ -87,8 +87,11 @@ $(ZMATGEN): $(FRC)
FRC:
@FRC=$(FRC)
-clean:
+clean: cleanobj cleanlib
+cleanobj:
rm -f *.o
+cleanlib:
+ rm -f ../../$(TMGLIB)
.f.o:
$(FORTRAN) $(OPTS) -c -o $@ $<
diff --git a/TESTING/Makefile b/TESTING/Makefile
index a447b569..8b883c0f 100644
--- a/TESTING/Makefile
+++ b/TESTING/Makefile
@@ -23,7 +23,7 @@
# xeigtsts, xeigtstd, xeigtstc, and xeigtstz for EIG
#
# To remove the output files after the tests have been run, enter
-# make clean
+# make cleantest
#
# To re-run specific tests after a make, enter (for example):
# 'rm ssvd.out; make' or:
@@ -582,7 +582,8 @@ EIG/xeigtstd: $(FRCEIG) $(FRC)
EIG/xeigtstz: $(FRCEIG) $(FRC)
$(MAKE) -C EIG xeigtstz
-clean:
+clean: cleantest
+cleantest:
rm -f *.out core
FRCLIN: