aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-rainfall/Makefile
diff options
context:
space:
mode:
authorBlista Kanjo2024-06-19 06:22:38 -0400
committerBlista Kanjo2024-06-19 06:22:38 -0400
commitb8f5a332bd786baca6370f176ef2938f1de6ee43 (patch)
treeca057a97f10768a70076a3b72d78dfe9b8d8e4ef /.local/share/python-rainfall/Makefile
parentca897388046facfeff33220a8c9a9a78f1b2ac1f (diff)
feat: add `rainfall` program
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