diff mbox series

[v2,06/12] trace-cruncher: Add Makefile

Message ID 20200107170312.27116-7-y.karadz@gmail.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Build trace-cruncher as Python pakage | expand

Commit Message

Yordan Karadzhov Jan. 7, 2020, 5:03 p.m. UTC
This will simplify the building procedure and will make it more intuitive.

Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
---
 Makefile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Makefile
diff mbox series

Patch

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..735d43c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@ 
+#
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright 2019 VMware Inc, Yordan Karadzhov (VMware) <y.karadz@gmail.com>
+#
+
+all:
+	python3 setup.py build
+
+clean:
+	rm -rf build src/datawrapper.c
+
+install:
+	python3 setup.py install --record install_manifest.txt
+
+uninstall:
+	xargs rm -v < install_manifest.txt