diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-06 01:07:10 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-06 01:07:10 -0600 |
commit | 8fce0e24bdbf070a56eaffe993ef713980bd8028 (patch) | |
tree | 46889dd598f44b4c8d3373030c39effc246e11ef /SRC/VARIANTS | |
parent | 7daa32722f95d150f1d7229b71f1030c655eccd5 (diff) | |
download | lapack-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 'SRC/VARIANTS')
-rw-r--r-- | SRC/VARIANTS/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/SRC/VARIANTS/Makefile b/SRC/VARIANTS/Makefile index c278af83..9f141075 100644 --- a/SRC/VARIANTS/Makefile +++ b/SRC/VARIANTS/Makefile @@ -56,9 +56,11 @@ qrll.a: $(QRLL) $(ARCH) $(ARCHFLAGS) $@ $^ $(RANLIB) $@ +clean: cleanobj cleanlib +cleanobj: + rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL) +cleanlib: + rm -f *.a .f.o: $(FORTRAN) $(OPTS) -c -o $@ $< - -clean: - rm -f $(CHOLRL) $(CHOLTOP) $(LUCR) $(LULL) $(LUREC) $(QRLL) *.a |