Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Sullivan committed Apr 17, 2016
1 parent 9d2c162 commit 8a9d73c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 3 additions & 5 deletions default.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,22 @@ 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)

# Flags to be passed to C code
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 =
Expand Down

0 comments on commit 8a9d73c

Please sign in to comment.