diff --git a/Makefile b/Makefile index 5894a67..23dd629 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c define rmfiles_if_exist @for file in $1; do \ if [ -e $$file ]; then \ - echo "Removing file $$file"; \ + printf -- "Removing file $$file\n"; \ rm $$file; \ fi; \ done @@ -58,9 +58,9 @@ define rmdirs if [ -d "$$dir" ]; then \ if [ -z "$$(find "$$dir" -mindepth 1 -maxdepth 1 -print -quit)" ]; \ then \ - echo "Removing empty directory $$dir"; \ + printf -- "Removing empty directory $$dir\n"; \ else \ - echo "Removing non-empty directory $$dir"; \ + printf -- "Removing non-empty directory $$dir\n"; \ fi; \ rm -r $$dir; \ fi; \ @@ -72,7 +72,7 @@ define rmdirs_if_empty if [ -d "$$dir" ]; then \ if [ -z "$$(find "$$dir" -mindepth 1 -maxdepth 1 -print -quit)" ]; \ then \ - echo "Removing empty directory $$dir"; \ + printf -- "Removing empty directory $$dir\n"; \ rm -r $$dir; \ fi; \ fi; \