Austin Schuh | 6c8ec4c | 2018-01-23 11:18:57 -0800 | [diff] [blame] | 1 | examples: minimal basic modern animation nonblock xkcd |
| 2 | |
| 3 | minimal: examples/minimal.cpp matplotlibcpp.h |
| 4 | cd examples && g++ -DWITHOUT_NUMPY minimal.cpp -I/usr/include/python2.7 -lpython2.7 -o minimal -std=c++11 |
| 5 | |
| 6 | basic: examples/basic.cpp matplotlibcpp.h |
| 7 | cd examples && g++ basic.cpp -I/usr/include/python2.7 -lpython2.7 -o basic |
| 8 | |
| 9 | modern: examples/modern.cpp matplotlibcpp.h |
| 10 | cd examples && g++ modern.cpp -I/usr/include/python2.7 -lpython2.7 -o modern -std=c++11 |
| 11 | |
| 12 | animation: examples/animation.cpp matplotlibcpp.h |
| 13 | cd examples && g++ animation.cpp -I/usr/include/python2.7 -lpython2.7 -o animation -std=c++11 |
| 14 | |
| 15 | nonblock: examples/nonblock.cpp matplotlibcpp.h |
| 16 | cd examples && g++ nonblock.cpp -I/usr/include/python2.7 -lpython2.7 -o nonblock -std=c++11 |
| 17 | |
| 18 | xkcd: examples/xkcd.cpp matplotlibcpp.h |
| 19 | cd examples && g++ xkcd.cpp -I/usr/include/python2.7 -lpython2.7 -o xkcd -std=c++11 |
| 20 | |
| 21 | clean: |
| 22 | rm -f examples/{minimal,basic,modern,animation,nonblock,xkcd} |