From: Reid Spencer Date: Fri, 3 Sep 2004 22:25:40 +0000 (+0000) Subject: Correct the specification of the DIRS variable to not include the source X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1d009bbbbd9f026005c69ad5ce72ec9f5f6f2243;p=oota-llvm.git Correct the specification of the DIRS variable to not include the source 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 --- diff --git a/projects/Makefile b/projects/Makefile index e382e86e4d5..83e78e941fb 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -10,6 +10,6 @@ LEVEL=.. include $(LEVEL)/Makefile.config -DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)) +DIRS:= $(patsubst $(SourceDir)%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)) include $(BUILD_SRC_ROOT)/Makefile.rules