diff --git a/YSFGateway/Makefile b/YSFGateway/Makefile index 5056c0f..fd878b1 100644 --- a/YSFGateway/Makefile +++ b/YSFGateway/Makefile @@ -1,13 +1,14 @@ CC = gcc CXX = g++ -# Use the following CFLAGS if you don't want to use gpsd. +# Use the following CFLAGS and LIBS if you don't want to use gpsd. CFLAGS = -g -O3 -Wall -std=c++0x -pthread +LIBS = -lm -lpthread -# Use the following CFLAGS if you do want to use gpsd. +# Use the following CFLAGS and LIBS if you do want to use gpsd. CFLAGS = -g -O3 -Wall -DUSE_GPSD -std=c++0x -pthread - LIBS = -lm -lpthread -lgps + LDFLAGS = -g OBJECTS = APRSWriter.o Conf.o CRC.o DTMF.o FCSNetwork.o Golay24128.o GPS.o Log.o StopWatch.o Sync.o Thread.o Timer.o \