diff --git a/ParU/Makefile b/ParU/Makefile index 181b8234b..ab235f066 100644 --- a/ParU/Makefile +++ b/ParU/Makefile @@ -56,10 +56,10 @@ all: library demos: library ( cd build && cmake $(CMAKE_OPTIONS) -DDEMO=1 .. && cmake --build . --config Release -j${JOBS} ) - ( cd build && ./paru_simplec < ../Matrix/b1_ss.mtx) - ( cd build && ./paru_simple < ../Matrix/west0067.mtx ) - ( cd build && ./paru_democ < ../Matrix/west0067.mtx) - ( cd build && ./paru_demo < ../Matrix/xenon1.mtx ) + ( cd build && ./paru_simplec$(EXEEXT) < ../Matrix/b1_ss.mtx ) + ( cd build && ./paru_simple$(EXEEXT) < ../Matrix/west0067.mtx ) + ( cd build && [ -f paru_democ$(EXEEXT) ] && ./paru_democ$(EXEEXT) < ../Matrix/west0067.mtx || true ) + ( cd build && [ -f paru_demo$(EXEEXT) ] && ./paru_demo$(EXEEXT) < ../Matrix/xenon1.mtx || true ) cov: ( cd Tcov && $(MAKE) )