[hackers] [libzahl] Clean up makefile || Mattias Andrée
commit 2c4bb8e40512725876f3d86e4887b2dc231371ff
Author: Mattias Andrée <m_AT_maandree.se>
AuthorDate: Wed Feb 25 19:55:12 2026 +0100
Commit: Mattias Andrée <m_AT_maandree.se>
CommitDate: Wed Feb 25 19:55:12 2026 +0100
Clean up makefile
Signed-off-by: Mattias Andrée <m_AT_maandree.se>
diff --git a/Makefile b/Makefile
index 94ba2d7..0811029 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -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
- -_AT_printf 'refsheet.%s\n' aux log | xargs rm -f -- 2>/dev/null
+ -_AT_printf 'refsheet.%s\n' aux log | xargs rm -f --
libzahl.pdf: $(TEXSRC)
pdflatex doc/libzahl.tex </dev/null
pdflatex doc/libzahl.tex </dev/null
- -_AT_printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -f -- libzahl.mtc* 2>/dev/null
+ -_AT_printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -f -- libzahl.mtc*
check: test
./test
_AT_@ -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
Received on Wed Feb 25 2026 - 19:55:22 CET
This archive was generated by hypermail 2.3.0
: Wed Feb 25 2026 - 20:00:34 CET