Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Annotation of /trunk/src/test/Makefile
Parent Directory
|
Revision Log
Revision 1961 -
(hide annotations)
(download)
Fri Oct 26 18:15:00 2018 UTC (6 years, 4 months ago) by amb
File size: 1491 byte(s)
Fri Oct 26 18:15:00 2018 UTC (6 years, 4 months ago) by amb
File size: 1491 byte(s)
Update the routing test scripts (refactor them, no change in the tests themselves).
1 | amb | 691 | # Test cases Makefile |
2 | # | ||
3 | # Part of the Routino routing software. | ||
4 | # | ||
5 | amb | 1961 | # This file Copyright 2011-2015, 2018 Andrew M. Bishop |
6 | amb | 691 | # |
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 | amb | 1343 | # All configuration is in the top-level Makefile.conf |
22 | |||
23 | include ../../Makefile.conf | ||
24 | |||
25 | amb | 1961 | # Executables |
26 | amb | 691 | |
27 | amb | 1784 | EXE=is-fast-math$(.EXE) |
28 | amb | 1528 | |
29 | amb | 691 | ######## |
30 | |||
31 | all : | ||
32 | |||
33 | ######## | ||
34 | |||
35 | amb | 1786 | test : test-exe $(EXE) |
36 | amb | 1961 | @./run-all-tests.sh |
37 | amb | 691 | |
38 | ######## | ||
39 | |||
40 | amb | 1786 | test-exe : |
41 | amb | 1814 | cd .. && $(MAKE) all-exe all-lib |
42 | amb | 1528 | |
43 | amb | 1784 | is-fast-math$(.EXE) : is-fast-math.o |
44 | amb | 1388 | $(LD) $< -o $@ $(LDFLAGS) |
45 | |||
46 | is-fast-math.o : is-fast-math.c | ||
47 | $(CC) -c $(CFLAGS) $< -o $@ | ||
48 | |||
49 | ######## | ||
50 | |||
51 | amb | 1528 | install: |
52 | |||
53 | ######## | ||
54 | |||
55 | amb | 691 | clean: |
56 | amb | 975 | rm -rf fat |
57 | amb | 691 | rm -rf slim |
58 | amb | 1784 | rm -rf fat+lib |
59 | rm -rf slim+lib | ||
60 | amb | 975 | rm -rf fat-pruned |
61 | rm -rf slim-pruned | ||
62 | amb | 739 | rm -f *.log |
63 | amb | 1045 | rm -f *~ |
64 | amb | 1388 | rm -f *.o |
65 | amb | 1784 | rm -f $(EXE) |
66 | amb | 739 | rm -f core |
67 | amb | 1045 | rm -f *.gcda *.gcno *.gcov gmon.out |
68 | amb | 691 | |
69 | ######## | ||
70 | |||
71 | distclean: clean | ||
72 | amb | 913 | |
73 | ######## | ||
74 | |||
75 | amb | 1528 | .PHONY:: all test install clean distclean |
76 | amb | 1786 | |
77 | .PHONY:: test-exe |