aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/tree/binary/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/tree/binary/makefile')
-rw-r--r--dist/examples/cxx/tree/binary/makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/dist/examples/cxx/tree/binary/makefile b/dist/examples/cxx/tree/binary/makefile
new file mode 100644
index 0000000..d337eb5
--- /dev/null
+++ b/dist/examples/cxx/tree/binary/makefile
@@ -0,0 +1,25 @@
+dirs :=
+
+ifeq ($(WITH_BOOST),1)
+dirs += boost
+endif
+
+
+ifeq ($(WITH_ACE),1)
+dirs += cdr
+endif
+
+ifeq ($(WITH_XDR),1)
+dirs += xdr
+endif
+
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+% :: $(dirs) ;