source: ntrip/trunk/clock_and_orbit/makefile@ 8431

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

fix some compiler warnings

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