summaryrefslogtreecommitdiffstats
path: root/stacker/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stacker/lib/Makefile')
-rw-r--r--stacker/lib/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/stacker/lib/Makefile b/stacker/lib/Makefile
new file mode 100644
index 00000000000..3a9a470a108
--- /dev/null
+++ b/stacker/lib/Makefile
@@ -0,0 +1,16 @@
+##===- projects/Stacker/lib/Makefile -----------------------*- Makefile -*-===##
+#
+# Compile Stacker libraries
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ..
+DIRS = compiler runtime
+
+include $(LEVEL)/Makefile.common
+
+# Don't generate the runtime if we don't have LLVMGCC
+ifeq ($(strip $(LLVMGCC)),)
+ DIRS := $(filter-out runtime, $(DIRS))
+endif
+
OpenPOWER on IntegriCloud