diff options
author | Torbjörn Andersson | 2018-08-20 07:11:15 +0200 |
---|---|---|
committer | David Turner | 2018-08-20 23:03:31 +0100 |
commit | 4d5c4232ee20c962ea95d082095f519c3c5dfc12 (patch) | |
tree | 613fdee9d46a2aa88a6ed25987c39a2086928556 | |
parent | 93ed8a2c47055f4b737d79925bf0bca30adda24f (diff) | |
download | scummvm-rg350-4d5c4232ee20c962ea95d082095f519c3c5dfc12.tar.gz scummvm-rg350-4d5c4232ee20c962ea95d082095f519c3c5dfc12.tar.bz2 scummvm-rg350-4d5c4232ee20c962ea95d082095f519c3c5dfc12.zip |
BUILD: Remove .dwo files on clean
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.common | 1 | ||||
-rw-r--r-- | rules.mk | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 261e2a5213..cd134d2bfb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .*.swp .*.swo *.o +*.dwo lib*.a .deps diff --git a/Makefile.common b/Makefile.common index b08c464656..3aebc582c4 100644 --- a/Makefile.common +++ b/Makefile.common @@ -96,6 +96,7 @@ clean: $(RM_REC) $(DEPDIRS) $(RM) $(OBJS) $(EXECUTABLE) ifdef SPLIT_DWARF + $(RM) $(OBJS:.o=.dwo) $(RM) $(EXECUTABLE).dwp endif @@ -98,5 +98,8 @@ endif # TOOL_EXECUTABLE clean: clean-$(MODULE) clean-$(MODULE): clean-% : -$(RM) $(MODULE_OBJS-$*) $(MODULE_LIB-$*) $(PLUGIN-$*) $(TOOL-$*) +ifdef SPLIT_DWARF + -$(RM) $(MODULE_OBJS-$*:.o=.dwo) +endif .PHONY: clean-$(MODULE) $(MODULE) |