source: ntrip/trunk/clock_and_orbit/makefile@ 6379

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

some changes to use the added readRTCM3()

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