PageRenderTime 47ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/drail/inference/randomized/Makefile

https://gitlab.com/purdueNlp/DRaiL
Makefile | 22 lines | 12 code | 8 blank | 2 comment | 0 complexity | 8630a57bd7798e63ad70c2e2bb8a979a MD5 | raw file
  1. FLAGS = -O3 -Wall -std=c++11
  2. # targets depend on your machine
  3. #all: argmining-mac 4forums-mac
  4. all: argmining-linux 4forums-linux
  5. argmining-mac: di_graph.h core_argmining.h
  6. c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so
  7. argmining-linux: di_graph.h core_argmining.h
  8. 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
  9. 4forums-mac: di_graph.h core_4forums.h
  10. c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so
  11. 4forums-linux: di_graph.h core_4forums.h
  12. 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
  13. clean:
  14. rm -f *.o *.so