summaryrefslogtreecommitdiff
path: root/build/Makefile.redirect
diff options
context:
space:
mode:
Diffstat (limited to 'build/Makefile.redirect')
-rw-r--r--build/Makefile.redirect9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/Makefile.redirect b/build/Makefile.redirect
new file mode 100644
index 0000000..db371eb
--- /dev/null
+++ b/build/Makefile.redirect
@@ -0,0 +1,9 @@
+# This redirects all make targets to builddir
+all:
+ $(MAKE) -C $(REDIRECT) all
+%:
+ $(MAKE) -C $(REDIRECT) $@
+ifeq ($(MAKEFLAGS), )
+JOBARG = -j4
+endif
+# REDIRECT=build