source: ntrip/trunk/clock_and_orbit/makefile@ 6209

Last change on this file since 6209 was 6209, checked in by stuerze, 8 years ago

some changes to use the added readRTCM3()

File size: 858 bytes
Line 
1all: readco readVtec readRTCM3
2CC = gcc
3CXX = g++
4DEFINES = -DNO_RTCM3_MAIN
5CFLAGS = -ggdb $(DEFINES)
6CXXFLAGS = -ggdb $(DEFINES)
7
8clock_orbit_rtcm.o: lib/clock_orbit_rtcm.c
9 $(CC) -c $(CFLAGS) -o $@ $< -I lib
10
11rtcm3torinex.o: lib/rtcm3torinex.c
12 $(CC) -c $(CFLAGS) -o $@ $< -I lib
13
14
15readco.o: readco.c clock_orbit_rtcm.o
16 $(CC) -c $(CFLAGS) $< -I lib
17
18readVtec.o: readVtec.c
19 $(CC) -c $(CFLAGS) $< -I lib
20
21readRTCM3.o: readRTCM3.cpp
22 $(CXX) -c $(CXXFLAGS) $< -I lib
23
24
25readco: readco.o clock_orbit_rtcm.o
26 $(CC) $(CFLAGS) -lm -o $@ readco.o clock_orbit_rtcm.o
27
28readVtec: readVtec.o clock_orbit_rtcm.o
29 $(CC) $(CFLAGS) -lm -o $@ readVtec.o clock_orbit_rtcm.o
30
31readRTCM3: readRTCM3.o clock_orbit_rtcm.o rtcm3torinex.o
32 $(CXX) $(CXXFLAGS) -lm -o $@ readRTCM3.o clock_orbit_rtcm.o rtcm3torinex.o
33
34
35clean:
36 rm *.o
37 rm readco readVtec readRTCM3
Note: See TracBrowser for help on using the repository browser.