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