diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-26 10:12:21 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-26 10:12:21 +0000 |
commit | 3344cf851c55d80080ec8f47bb1637200619ed5f (patch) | |
tree | 9149c40c1845d2a703c12375c9ecf8f48eac9444 /common.mak | |
parent | d4efacff64f8b07c24eabb38f855ff06a10dcc31 (diff) | |
download | ffmpeg-3344cf851c55d80080ec8f47bb1637200619ed5f.tar.gz |
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
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak index d004de4e01..83f2dbb1ca 100644 --- a/common.mak +++ b/common.mak @@ -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 |