Routino SVN Repository Browser

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

ViewVC logotype

Contents of /branches/destination-access/src/test/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1829 - (show annotations) (download)
Sat Oct 17 14:17:17 2015 UTC (9 years, 5 months ago) by amb
File size: 1592 byte(s)
Merge trunk back into routino-destination branch after completing the
loop and reverse changes.

1 # Test cases Makefile
2 #
3 # Part of the Routino routing software.
4 #
5 # This file Copyright 2011-2015 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 # Compilation targets
30
31 O=$(notdir $(wildcard *.osm))
32 S=$(foreach f,$(O),$(addsuffix .sh,$(basename $f)))
33
34 ########
35
36 all :
37
38 ########
39
40 test : test-exe $(EXE)
41 @./run-tests.sh $(S)
42
43 ########
44
45 test-exe :
46 cd .. && $(MAKE) all-exe all-lib
47
48 is-fast-math$(.EXE) : is-fast-math.o
49 $(LD) $< -o $@ $(LDFLAGS)
50
51 is-fast-math.o : is-fast-math.c
52 $(CC) -c $(CFLAGS) $< -o $@
53
54 ########
55
56 install:
57
58 ########
59
60 clean:
61 rm -rf fat
62 rm -rf slim
63 rm -rf fat+lib
64 rm -rf slim+lib
65 rm -rf fat-pruned
66 rm -rf slim-pruned
67 rm -f *.log
68 rm -f *~
69 rm -f *.o
70 rm -f $(EXE)
71 rm -f core
72 rm -f *.gcda *.gcno *.gcov gmon.out
73
74 ########
75
76 distclean: clean
77
78 ########
79
80 .PHONY:: all test install clean distclean
81
82 .PHONY:: test-exe