Browse Source

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.

Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Diego Biurrun 16 years ago
parent
commit
3344cf851c
2 changed files with 1 additions and 3 deletions
  1. +1
    -1
      common.mak
  2. +0
    -2
      libavutil/Makefile

+ 1
- 1
common.mak View File

@@ -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


+ 0
- 2
libavutil/Makefile View File

@@ -48,5 +48,3 @@ DIRS = arm bfin sh4 x86
include $(SUBDIR)../subdir.mak

$(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2

CLEANFILES = lzo-test$(EXESUF)

Loading…
Cancel
Save