Move from SVN to using GIT.
[libecef.git] / test / Makefile
1
2 #  Earth Centered Earth Fixed Navigation Copyright © 2013-2017  Infinite Delta Corp
3 #
4 #  This program is free software: you can redistribute it and/or modify
5 #  it under the terms of the GNU Lesser General Public License as published by
6 #  the Free Software Foundation, either version 2 of the License, or
7 #  (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public License
15 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17
18 VPATH=../include:../source
19 CXXFLAGS=-Wall -g -O2 -I../include
20
21 TRGS=ecef-wgs84_test
22 OBJS=ecef-wgs84.o
23 INC=ecef-vector.h ecef-wgs84.h ecef-quaternion.h
24
25 all : $(TRGS)
26
27 ecef-wgs84_test : ecef-wgs84_test.cc $(OBJS) $(INC)
28
29 $(OBJS) : $(INC)
30
31 clean:
32         rm -f $(TRGS) $(OBJS)
33
34 test: all
35         ./ecef-wgs84_test
36