From bb25c96291a6854fac9df301eaef0ca9e32b92d7 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 18 Jul 2022 13:41:35 +0200 Subject: [PATCH] Added Makefile for building a binary using Nuitka --- .gitignore | 1 + Makefile | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 4503f36..215adc6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ uplink.bin uplink.build +uplink.dist .idea .run __pycache__ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e2a478c --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +binary: + bash -c "time nuitka3 uplink" + +fullbinary: + bash -c "time nuitka3 --follow-imports uplink" + +standalone: + bash -c "time nuitka3 --follow-imports --standalone uplink" + +clean: + rm -rf uplink.build/* + rm -rf uplink.dist/* + rm -rf uplink.bin +