Makefile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. examples: minimal basic modern animation nonblock xkcd quiver bar surface fill_inbetween fill update
  2. minimal: examples/minimal.cpp matplotlibcpp.h
  3. cd examples && g++ -DWITHOUT_NUMPY minimal.cpp -I/usr/include/python2.7 -lpython2.7 -o minimal -std=c++11
  4. basic: examples/basic.cpp matplotlibcpp.h
  5. cd examples && g++ basic.cpp -I/usr/include/python2.7 -lpython2.7 -o basic -std=c++11
  6. modern: examples/modern.cpp matplotlibcpp.h
  7. cd examples && g++ modern.cpp -I/usr/include/python2.7 -lpython2.7 -o modern -std=c++11
  8. animation: examples/animation.cpp matplotlibcpp.h
  9. cd examples && g++ animation.cpp -I/usr/include/python2.7 -lpython2.7 -o animation -std=c++11
  10. nonblock: examples/nonblock.cpp matplotlibcpp.h
  11. cd examples && g++ nonblock.cpp -I/usr/include/python2.7 -lpython2.7 -o nonblock -std=c++11
  12. quiver: examples/quiver.cpp matplotlibcpp.h
  13. cd examples && g++ quiver.cpp -I/usr/include/python2.7 -lpython2.7 -o quiver -std=c++11
  14. xkcd: examples/xkcd.cpp matplotlibcpp.h
  15. cd examples && g++ xkcd.cpp -I/usr/include/python2.7 -lpython2.7 -o xkcd -std=c++11
  16. bar: examples/bar.cpp matplotlibcpp.h
  17. cd examples && g++ bar.cpp -I/usr/include/python2.7 -lpython2.7 -o bar -std=c++11
  18. surface: examples/surface.cpp matplotlibcpp.h
  19. cd examples && g++ surface.cpp -I/usr/include/python2.7 -lpython2.7 -o surface -std=c++11
  20. fill_inbetween: examples/fill_inbetween.cpp matplotlibcpp.h
  21. cd examples && g++ fill_inbetween.cpp -I/usr/include/python2.7 -lpython2.7 -o fill_inbetween -std=c++11
  22. fill: examples/fill.cpp matplotlibcpp.h
  23. cd examples && g++ fill.cpp -I/usr/include/python2.7 -lpython2.7 -o fill -std=c++11
  24. update: examples/update.cpp matplotlibcpp.h
  25. cd examples && g++ update.cpp -I/usr/include/python2.7 -lpython2.7 -o update -std=c++11
  26. clean:
  27. rm -f examples/{minimal,basic,modern,animation,nonblock,xkcd,quiver,bar,surface,fill_inbetween,fill,update}