From 6026a543302a18b34bb095f46226e47058e29260 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 15 Mar 2020 10:02:38 +0100 Subject: [PATCH] One line for debug one line for normal --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0dcf1b3..f002375 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,9 @@ CFGDIR=/etc/sgs-xl DATADIR=/etc/sgs-xl/data # choose this if you want debugging help -#CPPFLAGS=-g -ggdb -W -Wall -std=c++11 -DCFG_DIR=\"$(CFGDIR)\" +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= -g -W -Wall -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" +#CPPFLAGS= -W -Wall -std=c++17 -DCFG_DIR=\"$(CFGDIR)\" -DDATA_DIR=\"$(DATADIR)\" SRCS = $(wildcard *.cpp) OBJS = $(SRCS:.cpp=.o)