source: ntrip/trunk/clock_and_orbit/makefile@ 7024

Last change on this file since 7024 was 6554, checked in by stoecker, 10 years ago

fix some compiler warnings

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