sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit ead2c4616a171a905dd0822be111e08947559d90
parent f7f69125cf296bfd50a483c976f0991ec6e9ffe1
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 31 Dec 2025 16:15:53 +0100

build: Remove all .o in clean

Sometimes the OBJ variable gets out of sync with the object
files in the file system, and using a wildcard does a better
job in this regard.

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -275,7 +275,8 @@ sbase-box: $(BIN) clean: @cd tests && $(MAKE) clean - rm -f $(BIN) $(OBJ) $(LIB) sbase-box sbase-$(VERSION).tar.gz + rm -f *.o + rm -f $(BIN) $(LIB) sbase-box sbase-$(VERSION).tar.gz rm -f scripts/make rm -f getconf.h bc.c rm -f proto