projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7689eea
)
build: Properly remove object files while cleaning
author
Mans Rullgard
<mans@mansr.com>
Sat, 15 Sep 2012 18:33:56 +0000
(18:33 +0000)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Sat, 15 Sep 2012 23:44:05 +0000
(19:44 -0400)
Previously, object files in, for example, compat/ were left
after a clean or distclean was run.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
common.mak
patch
|
blob
|
history
diff --git
a/common.mak
b/common.mak
index
d866ef1
..
dd9f4cb
100644
(file)
--- 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))