Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/python/test/Makefile
Parent Directory
|
Revision Log
Revision 1962 -
(show annotations)
(download)
Fri Oct 26 18:39:08 2018 UTC (6 years, 4 months ago) by amb
File size: 1298 byte(s)
Fri Oct 26 18:39:08 2018 UTC (6 years, 4 months ago) by amb
File size: 1298 byte(s)
Add a Python3 module that can access the Routino database and calculate routes. Not compiled by default at the moment.
1 | # Test cases Makefile |
2 | # |
3 | # Part of the Routino routing software. |
4 | # |
5 | # This file Copyright 2011-2015, 2018 Andrew M. Bishop |
6 | # |
7 | # This program is free software: you can redistribute it and/or modify |
8 | # it under the terms of the GNU Affero General Public License as published by |
9 | # the Free Software Foundation, either version 3 of the License, or |
10 | # (at your option) any later version. |
11 | # |
12 | # This program is distributed in the hope that it will be useful, |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | # GNU Affero General Public License for more details. |
16 | # |
17 | # You should have received a copy of the GNU Affero General Public License |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | # |
20 | |
21 | # All configuration is in the top-level Makefile.conf |
22 | |
23 | include ../../Makefile.conf |
24 | |
25 | TESTDIR=../../src/test |
26 | |
27 | # Executables |
28 | |
29 | EXE=$(TESTDIR)/is-fast-math$(.EXE) |
30 | |
31 | ######## |
32 | |
33 | all : |
34 | |
35 | ######## |
36 | |
37 | test : test-exe $(EXE) |
38 | @./run-all-tests.sh |
39 | |
40 | ######## |
41 | |
42 | test-exe : |
43 | cd $(TESTDIR)/.. && $(MAKE) all-exe all-lib |
44 | |
45 | $(EXE) : |
46 | cd $(TESTDIR) && $(MAKE) $(EXE) |
47 | |
48 | ######## |
49 | |
50 | install: |
51 | |
52 | ######## |
53 | |
54 | clean: |
55 | rm -rf results |
56 | rm -f *.log |
57 | rm -f *~ |
58 | |
59 | ######## |
60 | |
61 | distclean: clean |
62 | |
63 | ######## |
64 | |
65 | .PHONY:: all test install clean distclean |
66 | |
67 | .PHONY:: test-exe |