diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-25 19:55:12 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-25 19:55:12 +0100 |
| commit | 2c4bb8e40512725876f3d86e4887b2dc231371ff (patch) | |
| tree | a3dc3f2505823fc12db3bc87990c00a5437e32fe | |
| parent | Add -f flag when calling rm on make clean/uninstall (diff) | |
| download | libzahl-2c4bb8e40512725876f3d86e4887b2dc231371ff.tar.gz libzahl-2c4bb8e40512725876f3d86e4887b2dc231371ff.tar.bz2 libzahl-2c4bb8e40512725876f3d86e4887b2dc231371ff.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |
