Rev | Line | |
---|
[6209] | 1 | all: readco readVtec readRTCM3
|
---|
[6554] | 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
|
---|
[5664] | 11 |
|
---|
| 12 | clock_orbit_rtcm.o: lib/clock_orbit_rtcm.c
|
---|
[6554] | 13 | $(CC) -c $(CFLAGS) -o $@ $<
|
---|
[5664] | 14 |
|
---|
[6554] | 15 | rtcm3torinex.o: ../rtcm3torinex/lib/rtcm3torinex.c
|
---|
| 16 | $(CC) -c $(CFLAGSR) -o $@ $<
|
---|
[6209] | 17 |
|
---|
| 18 | readco.o: readco.c clock_orbit_rtcm.o
|
---|
[6554] | 19 | $(CC) -c $(CFLAGS) -o $@ $<
|
---|
[6209] | 20 |
|
---|
[5664] | 21 | readVtec.o: readVtec.c
|
---|
[6554] | 22 | $(CC) -c $(CFLAGS) -o $@ $<
|
---|
[5664] | 23 |
|
---|
[6209] | 24 | readRTCM3.o: readRTCM3.cpp
|
---|
[6554] | 25 | $(CXX) -c $(CXXFLAGSR) $< -I lib
|
---|
[6209] | 26 |
|
---|
[5664] | 27 | readco: readco.o clock_orbit_rtcm.o
|
---|
[6554] | 28 | $(CC) $(LFLAGS) -o $@ readco.o clock_orbit_rtcm.o
|
---|
[6209] | 29 |
|
---|
[5664] | 30 | readVtec: readVtec.o clock_orbit_rtcm.o
|
---|
[6554] | 31 | $(CC) $(LFLAGS) -o $@ readVtec.o clock_orbit_rtcm.o
|
---|
[5664] | 32 |
|
---|
[6209] | 33 | readRTCM3: readRTCM3.o clock_orbit_rtcm.o rtcm3torinex.o
|
---|
[6554] | 34 | $(CXX) $(CXXFLAGSRL) -o $@ readRTCM3.o clock_orbit_rtcm.o rtcm3torinex.o
|
---|
[6209] | 35 |
|
---|
[5664] | 36 | clean:
|
---|
| 37 | rm *.o
|
---|
[6554] | 38 | rm readco readVtec readRTCM3
|
---|
Note:
See
TracBrowser
for help on using the repository browser.