From a68ab1b89c472355b4dda9811837bc16350a60f2 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sun, 21 Jun 2020 17:45:37 +0100 Subject: [PATCH] Fix the LIBS for using gpsd. --- YSFGateway/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 \