aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-dateTimeSetter
diff options
context:
space:
mode:
authorkj-sh6042025-01-09 21:08:13 -0500
committerkj-sh6042025-01-09 21:08:13 -0500
commitb099a9bd94da1fcd7bd73392349e45d56e2cb13c (patch)
treec9c992005897b43a99c7eaad6a5c5b380a3d3c86 /.local/share/python-dateTimeSetter
parent11e2798ea5a1d1fa6b78d56665922fde3d24effa (diff)
refactor: add `--sort version`
Diffstat (limited to '.local/share/python-dateTimeSetter')
-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 784db9d..91b1c6e 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]\+' | tail -1` ; \
+ 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 dateTime dateTime.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl