From 039043f0a749d363b256bab296d736d2cb19d4aa Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 26 Jul 2020 15:06:21 +0200 Subject: [PATCH] change path and compile with optimisations --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4e8536f..0642ce6 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ # Copyright (c) 2017 by Thomas A. Early N7TAE # if you change these locations, make sure the sgs-xl.service file is updated! -BINDIR=/usr/sbin -CFGDIR=/etc/sgs-xl -DATADIR=/etc/sgs-xl/data +BINDIR=/usr/local/bin +CFGDIR=/usr/local/etc/sgs-xl +DATADIR=/usr/local/sgs-xl/data # choose this if you want debugging help -CPPFLAGS=-g -ggdb -W -Wall -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" +#CPPFLAGS=-g -ggdb -W -Wall -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" # or, you can choose this for a much smaller executable without debugging help -#CPPFLAGS= -W -Wall -O3 -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" +CPPFLAGS= -W -Wall -O3 -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" SRCS = $(wildcard *.cpp) OBJS = $(SRCS:.cpp=.o)