aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-rainfall/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/python-rainfall/Makefile')
-rw-r--r--.local/share/python-rainfall/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/share/python-rainfall/Makefile b/.local/share/python-rainfall/Makefile
new file mode 100644
index 0000000..567100b
--- /dev/null
+++ b/.local/share/python-rainfall/Makefile
@@ -0,0 +1,3 @@
+compile:
+ cython3 --embed -o rainfall.c -X language_level=3 rainfall.py
+ gcc -march=native -O2 -pipe -fno-plt -I /usr/include/python3.12 -o rainfall rainfall.c -lpython3.12 -lpthread -lm -lutil -ldl