aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/makefile')
-rw-r--r--dist/examples/cxx/hybrid/makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/makefile b/dist/examples/cxx/hybrid/makefile
new file mode 100644
index 0000000..fdcec1d
--- /dev/null
+++ b/dist/examples/cxx/hybrid/makefile
@@ -0,0 +1,36 @@
+root := ../../..
+
+include $(root)/build/config.make
+
+dirs := compositors
+
+ifeq ($(XSDE_IOSTREAM),y)
+ifeq ($(XSDE_EXCEPTIONS),y)
+
+dirs += hello multiroot streaming
+
+ifeq ($(XSDE_STL),y)
+dirs += library wildcard filter
+endif
+
+endif
+endif
+
+ifeq ($(XSDE_STL),n)
+ifeq ($(XSDE_EXCEPTIONS),n)
+dirs += minimal
+endif
+endif
+
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+%.make:: ;
+
+%:: $(dirs) ;