Skip to content
Snippets Groups Projects
Commit 00d7923d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

autodetect the python version in the Makefile (thx tab)

parent 5f5b6477
No related branches found
No related tags found
No related merge requests found
# Set the C flags to include the GTK+ and Python libraries
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.
PYTHONVER = `python -V 2>&1 | awk '{print $2}' | cut -f1,2 -d.`
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python$(PYTHONVER) -I.
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
# Build the shared object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment