commit f4e8c279fa822c4104b9ddb798a4e06b9f1cdd05
parent c0ecbde7b32404ef869fa3ca9959cbee18777309
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 16 Aug 2021 15:02:28 +0200
Makefile: remove program-related object files during `clean`
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -89,6 +89,6 @@ test: ${BIN}
make -C test/
clean:
- rm -f ${BIN} ${OBJ} test/*.txt
+ rm -f ${BIN} ${BIN:=.o} ${OBJ} test/*.txt
.PHONY: all install uninstall test clean dist