From b099a9bd94da1fcd7bd73392349e45d56e2cb13c Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Thu, 9 Jan 2025 21:08:13 -0500 Subject: refactor: add `--sort version` --- .local/share/python-dateTimeSetter/Makefile | 2 +- .local/share/python-playerctl_systray/Makefile | 2 +- .local/share/python-rainfall/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 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 diff --git a/.local/share/python-playerctl_systray/Makefile b/.local/share/python-playerctl_systray/Makefile index 98edca1..a0ab881 100644 --- a/.local/share/python-playerctl_systray/Makefile +++ b/.local/share/python-playerctl_systray/Makefile @@ -1,4 +1,4 @@ compile: cython3 --embed -o playerctl_systray.c -X language_level=3 playerctl_systray.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 playerctl_systray playerctl_systray.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl `pkg-config --cflags --libs gtk+-3.0 appindicator3-0.1 dbus-1 dbus-glib-1` diff --git a/.local/share/python-rainfall/Makefile b/.local/share/python-rainfall/Makefile index b0219a3..c7cdd98 100644 --- a/.local/share/python-rainfall/Makefile +++ b/.local/share/python-rainfall/Makefile @@ -1,4 +1,4 @@ compile: cython3 --embed -o rainfall.c -X language_level=3 rainfall.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 rainfall rainfall.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl -- cgit v1.2.3