Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
brennansprinkle authored May 12, 2020
1 parent 964c158 commit eb60857
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Lubrication/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ TARGET = Lubrication_Class
all: $(TARGET).so

$(TARGET).so: $(TARGET).o
g++ -O3 -shared -dynamiclib $(TARGET).o -L$(BOOST_LIB) -lboost_python -L$(PYTHON_LIB) -lpython$(PYTHON_VERSION) -o $(TARGET).so
g++ -O3 -shared -dynamiclib $(TARGET).o -L$(BOOST_LIB) -lboost_python -lboost_numpy -L$(PYTHON_LIB) -lpython$(PYTHON_VERSION) -o $(TARGET).so

$(TARGET).o: $(TARGET).cc
g++ -O3 -std=c++11 -I$(PYTHON_INCLUDE) -I$(BOOST_INC) -I$(EIGEN_INC) $(CXX_FLAGS) -fPIC -c $(TARGET).cc

clean:
rm -f $(TARGET).o $(TARGET).so
rm -f $(TARGET).o $(TARGET).so

0 comments on commit eb60857

Please sign in to comment.