aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-dateTimeSetter/Makefile
diff options
context:
space:
mode:
authorkj-sh6042025-01-09 20:43:58 -0500
committerkj-sh6042025-01-09 20:43:58 -0500
commit3958212cbfaa2977e311a459154a5519f2e8357a (patch)
tree2acc302189fab0c4bfb340d06ce2daa690f6daf8 /.local/share/python-dateTimeSetter/Makefile
parent0ed813a8181c82865df7d2b7dfcc736b5ba86847 (diff)
refactor: make sure to use latest `python`
Diffstat (limited to '.local/share/python-dateTimeSetter/Makefile')
-rw-r--r--.local/share/python-dateTimeSetter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/share/python-dateTimeSetter/Makefile b/.local/share/python-dateTimeSetter/Makefile
index 156d269..784db9d 100644
--- a/.local/share/python-dateTimeSetter/Makefile
+++ b/.local/share/python-dateTimeSetter/Makefile
@@ -1,4 +1,4 @@
compile:
cython3 --embed -o dateTime.c -X language_level=3 dateTime.py
- PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+'` ; \
+ PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \
gcc -march=native -O2 -pipe -fno-plt -I /usr/include/$$PYTHON_VERSION -o dateTime dateTime.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl