From 744336ef2bdb7c88f235b2c4772ded318946ee1e Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Sun, 9 Feb 2020 19:12:40 +0100 Subject: [PATCH] src: Only remove objects and dependencies for the current target --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index df423929..123ef1d8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -139,7 +139,7 @@ tags: ctags -R clean: - rm -f .*.o .*.d + rm -f $(objects) $(deps) dist: @if ! [ -d ../.git ]; then echo "make dist can only run from a git repo"; false; fi