[FFmpeg-cvslog] r12799 - trunk/common.mak

diego subversion
Sun Apr 13 11:59:36 CEST 2008


Author: diego
Date: Sun Apr 13 11:59:36 2008
New Revision: 12799

Log:
Split CLEANFILES variable into CLEANSUFFIXES and LIBSUFFIXES.


Modified:
   trunk/common.mak

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	(original)
+++ trunk/common.mak	Sun Apr 13 11:59:36 2008
@@ -65,8 +65,8 @@ checkheaders: $(filter-out %_template.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 $
 	$(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)




More information about the ffmpeg-cvslog mailing list