From b8f5a332bd786baca6370f176ef2938f1de6ee43 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 19 Jun 2024 06:22:38 -0400 Subject: feat: add `rainfall` program --- .local/share/python-rainfall/Makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .local/share/python-rainfall/Makefile (limited to '.local/share/python-rainfall/Makefile') 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 -- cgit v1.2.3