summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2016-02-13 12:27:18 +0100
committerStef Walter <stefw@redhat.com>2016-02-13 12:27:18 +0100
commita3a6f5c9d842bc7a6c578bccd277368fd21faf96 (patch)
tree9b48cd132ecb96b5516a58d09a7dca175eaeb17b /build
parentba2c57d842a1e40cc8e410e33c28b42ed5a4e3b6 (diff)
downloadlibsecret-a3a6f5c9d842bc7a6c578bccd277368fd21faf96.tar.gz
build: Add redirect Makefile for when $srcdir != $builddir
Diffstat (limited to 'build')
-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