URI:
       Add -f flag when calling rm on make clean/uninstall - libzahl - big integer library
  HTML git clone git://git.suckless.org/libzahl
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 62f2bb50d223c26f20ed3cbd5eaab45b653e61ae
   DIR parent a67f6f673d5b75c1189a436182e8229d4bb25eba
  HTML Author: Mattias Andrée <m@maandree.se>
       Date:   Wed, 25 Feb 2026 19:52:41 +0100
       
       Add -f flag when calling rm on make clean/uninstall
       
       Signed-off-by: Mattias Andrée <m@maandree.se>
       
       Diffstat:
         M Makefile                            |      24 ++++++++++++------------
       
       1 file changed, 12 insertions(+), 12 deletions(-)
       ---
   DIR 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 -- 2>/dev/null
       +        -@printf 'refsheet.%s\n' aux log | xargs rm -f -- 2>/dev/null
        
        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 -- libzahl.mtc* 2>/dev/null
       +        -@printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -f -- libzahl.mtc* 2>/dev/null
        
        check: test
                ./test
       @@ -192,19 +192,19 @@ install: libzahl.a
                cp -- $(DOC) "$(DESTDIR)$(DOCPREFIX)/libzahl"
        
        uninstall:
       -        -rm -- "$(DESTDIR)$(EXECPREFIX)/lib/libzahl.a"
       -        -cd -- "$(DESTDIR)$(PREFIX)/include" && rm $(HDR_PUBLIC)
       +        -rm -f -- "$(DESTDIR)$(EXECPREFIX)/lib/libzahl.a"
       +        -cd -- "$(DESTDIR)$(PREFIX)/include" && rm -f $(HDR_PUBLIC)
                -rmdir -- "$(DESTDIR)$(PREFIX)/include/zahl"
       -        -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm $(MAN3)
       -        -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm $(MAN7)
       -        -cd -- "$(DESTDIR)$(DOCPREFIX)/libzahl" && rm $(DOC)
       +        -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f $(MAN3)
       +        -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f $(MAN7)
       +        -cd -- "$(DESTDIR)$(DOCPREFIX)/libzahl" && rm -f $(DOC)
                -rmdir -- "$(DESTDIR)$(DOCPREFIX)/libzahl"
        
        clean:
       -        -rm -- *.o *.su *.a *.so test test-random.c 2>/dev/null
       -        -rm -- benchmark benchmark-zrand benchmark-func 2>/dev/null
       -        -rm -- *.aux *.log *.out *.idx *.maf *.mtc* *.toc 2>/dev/null
       -        -rm -- refsheet.pdf refsheet.dvi refsheet.ps 2>/dev/null
       -        -rm -- libzahl.pdf libzahl.dvi libzahl.ps 2>/dev/null
       +        -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
        
        .PHONY: all check clean install uninstall