summaryrefslogtreecommitdiff
path: root/support/lib
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-09-14 15:02:57 +0200
committerMichael Schwarz <michi.schwarz@gmail.com>2015-09-16 01:50:23 +0200
commit2bd7e1e3d72da6b78f1946d508fa8f50f7e9ef67 (patch)
treefb49e589dd51dca9dd8c7ee0844b507e6d78435a /support/lib
parent096db19a9a465cc667aa5d0ef92df2eeac5955b2 (diff)
downloadpogojig-2bd7e1e3d72da6b78f1946d508fa8f50f7e9ef67.tar.gz
pogojig-2bd7e1e3d72da6b78f1946d508fa8f50f7e9ef67.tar.bz2
pogojig-2bd7e1e3d72da6b78f1946d508fa8f50f7e9ef67.zip
Separate module for make file stuff.
Diffstat (limited to 'support/lib')
-rw-r--r--support/lib/make.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/lib/make.py b/support/lib/make.py
new file mode 100644
index 0000000..3502ef6
--- /dev/null
+++ b/support/lib/make.py
@@ -0,0 +1,5 @@
+from . import util
+
+
+def write_dependencies(path, target, dependencies):
+ util.write_file(path, '{}: {}\n'.format(target, ' '.join(dependencies)).encode())