[Scummvm-git-logs] scummvm master -> 4d5c4232ee20c962ea95d082095f519c3c5dfc12

digitall dgturner at iee.org
Tue Aug 21 00:03:34 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
4d5c4232ee BUILD: Remove .dwo files on clean


Commit: 4d5c4232ee20c962ea95d082095f519c3c5dfc12
    https://github.com/scummvm/scummvm/commit/4d5c4232ee20c962ea95d082095f519c3c5dfc12
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2018-08-20T23:03:31+01:00

Commit Message:
BUILD: Remove .dwo files on clean

Changed paths:
    .gitignore
    Makefile.common
    rules.mk


diff --git a/.gitignore b/.gitignore
index 261e2a5..cd134d2 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 b08c464..3aebc58 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
 
diff --git a/rules.mk b/rules.mk
index 1324874..1bd1f14 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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)





More information about the Scummvm-git-logs mailing list