aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-03-06 01:51:33 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-06 01:59:58 -0300
commit06eb29e1171e5def51554adf559b78597e559bbe (patch)
tree726b03a4581f9340328398508719f4f7a6505667 /tools
parent49776627e60f2718c9511569e73e4d671065dd61 (diff)
downloadkmod-06eb29e1171e5def51554adf559b78597e559bbe.tar.gz
build-sys: add small redirecting Makefiles
These redirecting makefiles simplifies compiling from some editors and when CWD is not the root of the source tree. This is similar to what was introduced in systemd in 340d89e ("build-sys: add small redirecting Makefiles to simplify compilation from within emacs")
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..223bec2
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,13 @@
+# Copyright 2010 Lennart Poettering
+#
+# This file has been copied from systemd. It is a dirty trick to simplify
+# compilation when CWD is not the root of the source tree. This file is not
+# intended to be distributed. So, don't touch it, even better ignore it!
+
+all:
+ $(MAKE) -C ..
+
+clean:
+ $(MAKE) -C .. clean
+
+.PHONY: all clean