diff options
author | joshua stein <jcs@jcs.org> | 2020-02-09 12:52:04 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-10 10:18:30 +0100 |
commit | e9be8669d29cdee6ae51be3b31b54ca0f3d3a1d1 (patch) | |
tree | 9606abefda1314e40693ee7adf58b9b48bed7f15 | |
parent | 99ea80695e64d358fa06c0f1d101f953c5ebf44b (diff) | |
download | serenity-e9be8669d29cdee6ae51be3b31b54ca0f3d3a1d1.zip |
Build: clean .d files based on SUFFIXED_OBJS and EXTRA_OBJS
Fixes #1198
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index 1934afeacb..c2c0acb9d9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -142,7 +142,7 @@ EXTRA_CLEAN ?= clean: @echo "$(notdir $(CURDIR)): CLEAN" - $(QUIET) rm -f $(PROGRAM) $(LIBRARY) $(SUFFIXED_OBJS) $(EXTRA_OBJS) *.d $(EXTRA_CLEAN) + $(QUIET) rm -f $(PROGRAM) $(LIBRARY) $(SUFFIXED_OBJS) $(EXTRA_OBJS) $(patsubst %.o,%.d,$(SUFFIXED_OBJS) $(EXTRA_OBJS)) $(EXTRA_CLEAN) install: |