aboutsummaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun2008-04-13 09:59:36 +0000
committerDiego Biurrun2008-04-13 09:59:36 +0000
commitd4210e2a4b3ffd258ba6fa193116d2b8bf275832 (patch)
tree2c7b4a5f7130b3b84cb56844c08d908c629ba54b /common.mak
parent77405bb879d88fda458801f3a7ee82fecdef5ed3 (diff)
Split CLEANFILES variable into CLEANSUFFIXES and LIBSUFFIXES.
Originally committed as revision 12799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.mak b/common.mak
index d87de3e1f7..12f91066b6 100644
--- a/common.mak
+++ b/common.mak
@@ -65,8 +65,8 @@ checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
DEPS := $(OBJS:.o=.d)
depend dep: $(DEPS)
-CLEANFILES += *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
- *.def *.dll.a *.exp *.ho *.map
+CLEANSUFFIXES = *.o *~ *.ho
+LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map
define RULES
$(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME)
@@ -76,7 +76,7 @@ $(SUBDIR)%-test$(EXESUF): $(SUBDIR)%.c $(LIBNAME)
$(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS)
clean::
- rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES))
+ rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES))
distclean:: clean
rm -f $(DEPS)