help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Specifying include paths for different library versions


From: David Aldrich
Subject: Specifying include paths for different library versions
Date: Thu, 29 Sep 2011 14:05:54 +0000

Hi

We have restricted our application to build and run on Centos 5.x o/s, which 
means that it always links to Python 2.4.  So our makefile contains:

PYTHON = /usr/include/python2.4
INCPATH=$(PYTHON)

However, now we want to build on other systems that will have later versions of 
Python.  What is the correct way of handling this?  Should we expect the system 
path to contain the Python header file path? Is it bad practice to specify the 
explicit path in the makefile?

Best regards

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]