From 9b3b5dee7e836ab42eb71613ecc75b0840256382 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Tue, 25 Nov 2003 20:37:45 +0000 Subject: Adjusted the projects Makefile so that it picks up the name of projects by scanning the source tree (not the object tree). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10223 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'projects/Makefile') diff --git a/projects/Makefile b/projects/Makefile index 16ee42e..5465268 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -8,7 +8,9 @@ ##===----------------------------------------------------------------------===## LEVEL=.. +include $(LEVEL)/Makefile.config + DIRS= -OPTIONAL_DIRS:=$(shell ls | grep -v CVS) +OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile)) -include $(LEVEL)/Makefile.common +include $(BUILD_SRC_ROOT)/Makefile.rules -- cgit v1.1