Commit 60c956d9 authored by Andreas Freise's avatar Andreas Freise
Browse files

chaning clean targets to remove some error messages

parent 42d057b3
......@@ -114,9 +114,15 @@ realclean:
for d in lib src; \
do \
$(MAKE) --directory=$$d clean; \
done
rm lib/KLUsparse/*/Lib/*.a;
rm lib/Cuba-3.2/*.a;
done
if ls lib/Cuba-3.2/*.a 1> /dev/null 2>&1; then \
rm -f lib/Cuba-3.2/*.a; \
fi;
if ls lib/KLUsparse/*/Lib/*.a 1> /dev/null 2>&1; then \
rm -f lib/KLUsparse/*/Lib/*.a; \
fi;
# print out the possible options to pass to make
help:
......
......@@ -52,13 +52,18 @@ clean:
do \
$(MAKE) --directory=$$d clean; \
done
$(MAKE) --directory=Cuba-3.2 clean dist
rm -f ./NICSLU/lib/nicsluc.a
rm -f ./Cuba-3.2/libcuba.a
rm -f ./KLUsparse/KLU/Lib/lib*.a
rm -f ./KLUsparse/COLAMD/Lib/lib*.a
rm -f ./KLUsparse/BTF/Lib/lib*.a
rm -f ./KLUsparse/AMD/Lib/lib*.a
# vim: shiftwidth=4:
$(MAKE) --directory=Cuba-3.2 clean
if ls lib/Cuba-3.2/*.a 1> /dev/null 2>&1; then \
rm -f lib/Cuba-3.2/*.a; \
fi;
if ls lib/KLUsparse/*/Lib/*.a 1> /dev/null 2>&1; then \
rm -f lib/KLUsparse/*/Lib/*.a; \
fi;
if ls NICSLU/lib/*.a 1> /dev/null 2>&1; then \
rm NICSLU/lib/*.a; \
fi;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment