##===----------------------------------------------------------------------===##
LEVEL = ../..
-PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
+PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
-include $(LEVEL)/Makefile.common
+include $(LEVEL)/Makefile.config
+
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+ PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
+endif
+include $(LEVEL)/Makefile.common