aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projects/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/projects/Makefile b/projects/Makefile
index 16ee42e475..5465268ecf 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