summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-10 11:10:57 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-10 11:10:57 +0200
commitcce4dd8af1ceec9ad9c1097ee584af87e4033a2a (patch)
tree02dd1aa1e11e8bf49a622a39e269c73cf5660967 /Makefile
parent2adbac8efc7d651dd9cdf806fcbb59016a37126b (diff)
downloadbirdscan-cce4dd8af1ceec9ad9c1097ee584af87e4033a2a.tar
birdscan-cce4dd8af1ceec9ad9c1097ee584af87e4033a2a.tar.zst
birdscan-cce4dd8af1ceec9ad9c1097ee584af87e4033a2a.zip
Implement basic Structure and Buildsystem
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cd4cbb5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+# vim: shiftwidth=4 tabstop=4 noexpandtab
+
+DESTDIR="" # leave empty for the current system or provide a fakeroot here
+PREFIX="/usr"
+
+.PHONY: all clean install
+
+all:
+ make -C python all
+ make -C src all
+
+clean:
+ make -C python clean
+ make -C src clean
+
+install: all
+ make -C python install DESTDIR=$(abspath $(DESTDIR))
+ make -C src install DESTDIR=$(abspath $(DESTDIR))
+