Commit e65c3f83 authored by diego's avatar diego

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fdda8a92
......@@ -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
......
......@@ -48,5 +48,3 @@ DIRS = arm bfin sh4 x86
include $(SUBDIR)../subdir.mak
$(SUBDIR)lzo-test$(EXESUF): EXTRALIBS += -llzo2
CLEANFILES = lzo-test$(EXESUF)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment