/drail/inference/randomized/Makefile
https://gitlab.com/purdueNlp/DRaiL · Makefile · 22 lines · 12 code · 8 blank · 2 comment · 0 complexity · 8630a57bd7798e63ad70c2e2bb8a979a MD5 · raw file
- FLAGS = -O3 -Wall -std=c++11
- # targets depend on your machine
- #all: argmining-mac 4forums-mac
- all: argmining-linux 4forums-linux
- argmining-mac: di_graph.h core_argmining.h
- c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so
- argmining-linux: di_graph.h core_argmining.h
- c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so -I/usr/include/python2.7 -lpython2.7
- 4forums-mac: di_graph.h core_4forums.h
- c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so
- 4forums-linux: di_graph.h core_4forums.h
- c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so -I/usr/include/python2.7 -lpython2.7
- clean:
- rm -f *.o *.so