|
1 | 1 | examples: minimal basic modern animation nonblock xkcd quiver |
2 | 2 |
|
3 | 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 |
| 4 | + cd examples && g++ -DWITHOUT_NUMPY minimal.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o minimal.o -std=c++11 |
5 | 5 |
|
6 | 6 | basic: examples/basic.cpp matplotlibcpp.h |
7 | | - cd examples && g++ basic.cpp -I/usr/include/python2.7 -lpython2.7 -o basic |
| 7 | + cd examples && g++ basic.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o basic |
8 | 8 |
|
9 | 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 |
| 10 | + cd examples && g++ modern.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o modern.o -std=c++11 |
11 | 11 |
|
12 | 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 |
| 13 | + cd examples && g++ animation.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o animation.o -std=c++11 |
14 | 14 |
|
15 | 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 |
| 16 | + cd examples && g++ nonblock.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o nonblock.o -std=c++11 |
17 | 17 |
|
18 | 18 | quiver: examples/quiver.cpp matplotlibcpp.h |
19 | | - cd examples && g++ quiver.cpp -I/usr/include/python2.7 -lpython2.7 -o quiver -std=c++11 |
| 19 | + cd examples && g++ quiver.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o quiver.o -std=c++11 |
20 | 20 |
|
21 | 21 | xkcd: examples/xkcd.cpp matplotlibcpp.h |
22 | | - cd examples && g++ xkcd.cpp -I/usr/include/python2.7 -lpython2.7 -o xkcd -std=c++11 |
| 22 | + cd examples && g++ xkcd.cpp -I/usr/lib/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -lpython3.7m -lcml -o xkcd.o -std=c++11 |
23 | 23 |
|
24 | 24 | clean: |
25 | 25 | rm -f examples/{minimal,basic,modern,animation,nonblock,xkcd,quiver} |
0 commit comments