diff --git a/common.mak b/common.mak index 2ec0dffd133e6f30b9aabe56816edac5266b984a..1fbdf2b489e68a175c78b2037f338dc64a14e04e 100644 --- a/common.mak +++ b/common.mak @@ -87,6 +87,9 @@ endef $(eval $(RULES)) +# Clear DIRS variable so that it is not used in other subdirectories. +DIRS = + tests: $(TESTS) -include $(DEPS) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 63b20789a4c156b251df37bc59d257cae151ac01..a9858d79aaf8c3c03f106525ac1fb9c94b3c2609 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -472,8 +472,6 @@ DIRS = alpha armv4l bfin i386 mlib ppc ps2 sh4 sparc include $(SUBDIR)../subdir.mak -DIRS = - $(SUBDIR)cpuid-test$(EXESUF): $(SUBDIR)i386/cputest.c $(SUBDIR)apiexample$(EXESUF): $(SUBDIR)apiexample.o $(SUBDIR)$(LIBNAME) $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dct-test.o fdctref.o $(SUBDIR)$(LIBNAME)