[FFmpeg-cvslog] build: Properly remove object files while cleaning

Mans Rullgard git at videolan.org
Sun Sep 16 14:58:42 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Sep 15 18:33:56 2012 +0000| [1c9d54b468e4b026dab2cf86d7993da06d00eda1] | committer: Derek Buitenhuis

build: Properly remove object files while cleaning

Previously, object files in, for example, compat/ were left
after a clean or distclean was run.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c9d54b468e4b026dab2cf86d7993da06d00eda1
---

 common.mak |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/common.mak b/common.mak
index d866ef1..dd9f4cb 100644
--- a/common.mak
+++ b/common.mak
@@ -52,4 +52,7 @@ CLEANSUFFIXES     = *.d *.o *~ *.h.c *.map *.ver
 DISTCLEANSUFFIXES = *.pc
 LIBSUFFIXES       = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a
 
+clean::
+	$(RM) $(OBJS) $(OBJS:.o=.d)
+
 -include $(wildcard $(OBJS:.o=.d) $(HOSTOBJS:.o=.d) $(TESTOBJS:.o=.d) $(HOBJS:.o=.d))



More information about the ffmpeg-cvslog mailing list