[FFmpeg-cvslog] r18193 - in trunk: common.mak libavutil/Makefile
diego
subversion
Thu Mar 26 11:12:22 CET 2009
Author: diego
Date: Thu Mar 26 11:12:21 2009
New Revision: 18193
Log:
Use a wildcard match instead of a list to remove test programs.
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.
Modified:
trunk/common.mak
trunk/libavutil/Makefile
Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak Thu Mar 26 02:34:02 2009 (r18192)
+++ trunk/common.mak Thu Mar 26 11:12:21 2009 (r18193)
@@ -98,7 +98,7 @@ $(SUBDIR)x86/%.d: $(SUBDIR)x86/%.asm
$(YASM) $(YASMFLAGS) -I $$(<D)/ -M -o $$(@:%.d=%.o) $$< > $$@
clean::
- rm -f $(EXAMPLES) $(TESTPROGS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \
+ rm -f $(EXAMPLES) $(addprefix $(SUBDIR),*-test$(EXESUF) $(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \
$(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))
distclean:: clean
Modified: trunk/libavutil/Makefile
==============================================================================
--- trunk/libavutil/Makefile Thu Mar 26 02:34:02 2009 (r18192)
+++ trunk/libavutil/Makefile Thu Mar 26 11:12:21 2009 (r18193)
@@ -48,5 +48,3 @@ DIRS = arm bfin sh4 x86
include $(SUBDIR)../subdir.mak
$(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2
-
-CLEANFILES = lzo-test$(EXESUF)
More information about the ffmpeg-cvslog
mailing list