Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/src/test/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1961 - (show annotations) (download)
Fri Oct 26 18:15:00 2018 UTC (6 years, 5 months ago) by amb
File size: 1491 byte(s)
Update the routing test scripts (refactor them, no change in the tests
themselves).

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 # Executables
26
27 EXE=is-fast-math$(.EXE)
28
29 ########
30
31 all :
32
33 ########
34
35 test : test-exe $(EXE)
36 @./run-all-tests.sh
37
38 ########
39
40 test-exe :
41 cd .. && $(MAKE) all-exe all-lib
42
43 is-fast-math$(.EXE) : is-fast-math.o
44 $(LD) $< -o $@ $(LDFLAGS)
45
46 is-fast-math.o : is-fast-math.c
47 $(CC) -c $(CFLAGS) $< -o $@
48
49 ########
50
51 install:
52
53 ########
54
55 clean:
56 rm -rf fat
57 rm -rf slim
58 rm -rf fat+lib
59 rm -rf slim+lib
60 rm -rf fat-pruned
61 rm -rf slim-pruned
62 rm -f *.log
63 rm -f *~
64 rm -f *.o
65 rm -f $(EXE)
66 rm -f core
67 rm -f *.gcda *.gcno *.gcov gmon.out
68
69 ########
70
71 distclean: clean
72
73 ########
74
75 .PHONY:: all test install clean distclean
76
77 .PHONY:: test-exe