directory prefix, just the name of the subdirectory. This prevents the
makefile from trying to find makefiles (like Makefile.common) in the wrong
place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16157
91177308-0d34-0410-b5e6-
96231b3b80d8
include $(LEVEL)/Makefile.config
-DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+DIRS:= $(patsubst $(SourceDir)%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
include $(BUILD_SRC_ROOT)/Makefile.rules