OSDN Git Service

Clear DIRS variable in common.mak, so it does not have to be cleared in
authorDiego Biurrun <diego@biurrun.de>
Sun, 13 Apr 2008 10:37:30 +0000 (10:37 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 13 Apr 2008 10:37:30 +0000 (10:37 +0000)
each subdirectory Makefile.

Originally committed as revision 12803 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak
libavcodec/Makefile

index 2ec0dff..1fbdf2b 100644 (file)
@@ -87,6 +87,9 @@ endef
 
 $(eval $(RULES))
 
+# Clear DIRS variable so that it is not used in other subdirectories.
+DIRS =
+
 tests: $(TESTS)
 
 -include $(DEPS)
index 63b2078..a9858d7 100644 (file)
@@ -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)