commit: 4b9b18a9346e0658c7989f24d19d2da93014a236
parent 28b2121d610161cbd23e2ff011fc31e039b2e6fb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 1 Sep 2024 09:27:08 +0200
Makefile: clean in a single rm command
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -56,9 +56,7 @@ lint: $(MAN1SO)
.PHONY: clean
clean:
- $(RM) -fr $(EXE) $(MAN1SO) $(TEST_LIBS)
- $(RM) -fr ${EXE:=.c.gcov} ${EXE:=.gcda} ${EXE:=.gcno}
- $(RM) -f cmd/expr.tab.c
+ $(RM) -fr $(EXE) ${EXE:=.c.gcov} ${EXE:=.gcda} ${EXE:=.gcno} cmd/expr.tab.c $(MAN1SO) $(TEST_LIBS)
install: all
mkdir -p ${DESTDIR}${BINDIR}/