This will simplify the building procedure and will make it more intuitive. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@xxxxxxxxx> --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile 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@xxxxxxxxx> +# + +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 -- 2.20.1