summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/Makefile')
-rw-r--r--examples/redis-unstable/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/redis-unstable/Makefile b/examples/redis-unstable/Makefile
new file mode 100644
index 0000000..869248b
--- /dev/null
+++ b/examples/redis-unstable/Makefile
@@ -0,0 +1,19 @@
+# Top level makefile, the real stuff is at ./src/Makefile and in ./modules/Makefile
+
+SUBDIRS = src
+ifeq ($(BUILD_WITH_MODULES), yes)
+ ifeq ($(MAKECMDGOALS),32bit)
+ $(error BUILD_WITH_MODULES=yes is not supported on 32 bit systems)
+ endif
+ SUBDIRS += modules
+endif
+
+default: all
+
+.DEFAULT:
+ for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
+
+install:
+ for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
+
+.PHONY: install