src: Only remove objects and dependencies for the current target

This commit is contained in:
Frank LENORMAND 2020-02-09 19:12:40 +01:00
parent e9cf0f23f2
commit 744336ef2b

View File

@ -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