Fixed the dynamic generation of the list of subdirectories to compile.
[oota-llvm.git] / runtime / Makefile
index 30d96a755c980c4df986544836ac8d5b572b2c62..d8bc24a6f12cc7a96f506cd67fe6387ac6010fe2 100644 (file)
@@ -11,7 +11,7 @@
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 ifneq ($(wildcard $(LLVMGCCDIR)),)
-PARALLEL_DIRS  := $(sort $(filter-out Output/, $(filter-out CVS/, $(wildcard */))))
+PARALLEL_DIRS  := $(sort $(filter-out Makefile, $(filter-out README.txt, $(filter-out Output, $(filter-out CVS, $(notdir $(wildcard $(SourceDir)/*)))))))
 else
 PARALLEL_DIRS  := 
 all ::