commit 2c4bb8e40512725876f3d86e4887b2dc231371ff parent 62f2bb50d223c26f20ed3cbd5eaab45b653e61ae Author: Mattias Andrée <m@maandree.se> Date: Wed, 25 Feb 2026 19:55:12 +0100 Clean up makefile Signed-off-by: Mattias Andrée <m@maandree.se> Diffstat:
| M | Makefile | | | 16 | ++++++++-------- |
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile @@ -164,12 +164,12 @@ benchmark-zrand: bench/benchmark-zrand.c bench/util.c bench/util.h libzahl.a refsheet.pdf: doc/refsheet.tex pdflatex doc/refsheet.tex </dev/null pdflatex doc/refsheet.tex </dev/null - -@printf 'refsheet.%s\n' aux log | xargs rm -f -- 2>/dev/null + -@printf 'refsheet.%s\n' aux log | xargs rm -f -- libzahl.pdf: $(TEXSRC) pdflatex doc/libzahl.tex </dev/null pdflatex doc/libzahl.tex </dev/null - -@printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -f -- libzahl.mtc* 2>/dev/null + -@printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -f -- libzahl.mtc* check: test ./test @@ -201,10 +201,10 @@ uninstall: -rmdir -- "$(DESTDIR)$(DOCPREFIX)/libzahl" clean: - -rm -f -- *.o *.su *.a *.so test test-random.c 2>/dev/null - -rm -f -- benchmark benchmark-zrand benchmark-func 2>/dev/null - -rm -f -- *.aux *.log *.out *.idx *.maf *.mtc* *.toc 2>/dev/null - -rm -f -- refsheet.pdf refsheet.dvi refsheet.ps 2>/dev/null - -rm -f -- libzahl.pdf libzahl.dvi libzahl.ps 2>/dev/null + -rm -f -- *.o *.su *.a *.so test test-random.c + -rm -f -- benchmark benchmark-zrand benchmark-func + -rm -f -- *.aux *.log *.out *.idx *.maf *.mtc* *.toc + -rm -f -- refsheet.pdf refsheet.dvi refsheet.ps + -rm -f -- libzahl.pdf libzahl.dvi libzahl.ps -.PHONY: all check clean install uninstall +.PHONY: all check install uninstall clean