diff --git a/Makefile b/Makefile index be7c2b2..0363510 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ define WELCOME_MESSAGE default.inc not found, generating now - boost-pylab + pylingual - Chris Sullivan A simple library for importing python libraries diff --git a/default.inc b/default.inc index cccd59c..73a5e64 100644 --- a/default.inc +++ b/default.inc @@ -14,13 +14,11 @@ RM = rm -f BOOST_PYTHON_LIB = ${BOOST_ROOT}/lib BOOST_PYTHON_INC = ${BOOST_ROOT}/include BOOST_LDFLAGS = -L$(BOOST_PYTHON_LIB) -lboost_python + # set up python paths PY_CFLAGS = `python-config --cflags` PY_LDFLAGS = `python-config --ldflags` - - - # Flags to be passed to both C and C++ code CPPFLAGS = -Wall -Wextra -pedantic -g $(PY_CFLAGS) @@ -28,10 +26,10 @@ CPPFLAGS = -Wall -Wextra -pedantic -g $(PY_CFLAGS) CFLAGS = -O3 # Flags to be passed to C++ code -CXXFLAGS = -O3 $(ROOTCFLAGS) +CXXFLAGS = -O3 # Flags to be passed to the linker, prior to listing of object files. -LDFLAGS = $(ROOTLIBS) $(PY_LDFLAGS) $(BOOST_LDFLAGS) +LDFLAGS = $(PY_LDFLAGS) $(BOOST_LDFLAGS) # Flags to be passed to the linker, after the listing of object files. LDLIBS =