diff options
| author | kj-sh604 | 2025-06-10 13:32:36 -0400 |
|---|---|---|
| committer | kj-sh604 | 2025-06-10 13:32:36 -0400 |
| commit | d55248989fe4aa8b7c6f5d06ac8a89b66ba3aba8 (patch) | |
| tree | b86e16f5a611246ba6740d7c3e9331a5b2cf38eb /.local/src/rainfall/Makefile | |
| parent | 3eceaf30b0bfeb617e74275d15e41c0939fecd61 (diff) | |
refactor: multiple changes (see description)
* add LICENSEs where necesary
* remove *pkg scripts from repo see: https://github.com/kj-sh604/gitpkg
* rename .local/src python directories
* update .local/bin scripts in relation to above
Diffstat (limited to '.local/src/rainfall/Makefile')
| -rw-r--r-- | .local/src/rainfall/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/src/rainfall/Makefile b/.local/src/rainfall/Makefile new file mode 100644 index 0000000..c7cdd98 --- /dev/null +++ b/.local/src/rainfall/Makefile @@ -0,0 +1,4 @@ +compile: + cython3 --embed -o rainfall.c -X language_level=3 rainfall.py + PYTHON_VERSION=`ls --sort version /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \ + gcc -march=native -O2 -pipe -fno-plt -I /usr/include/$$PYTHON_VERSION -o rainfall rainfall.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl |
