commit a33f44e72e90eeda886d841a836e3c35f8225e9c
parent 8ea74d67af38ca843c28a1d9b18f6a643c931a6d
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Fri, 13 Aug 2021 11:27:57 +0200
fix "make clean"
The comment would be taken word by word as filenames, resulting in .gitignore
and TARGETS being deleted on "make clean".
Fixes: 8ea74d67af38ca843c28a1d9b18f6a643c931a6d
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -338,7 +338,7 @@ auto_spawn.h
clean: \
TARGETS
- rm -f `cat TARGETS`
+ rm -f `grep -v '^#' TARGETS`
$(MAKE) -C tests clean
coe.o: \