From e42e88d61f84cf7bd1c580e902f88947e9ef15e3 Mon Sep 17 00:00:00 2001 From: df Date: Fri, 24 Jul 2020 10:16:53 +0100 Subject: [PATCH] Improve Makefile for CC/CPP options --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 81e25a5..2ff0dbe 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,14 @@ # # Makefile for tinysvcmdns # -CPPFLAGS += -DPTHREAD_CREATE_DETACHED_SUPPORTED +CPPFLAGS += -DPTHREAD_CREATE_DETACHED_SUPPORTED +#CPPFLAGS += -DNDEBUG +CPPFLAGS += $(CPPFLAGS_EXTRA) CFLAGS += -Wall -pedantic -std=gnu99 CFLAGS += -g CFLAGS += -O2 -#CFLAGS += -DNDEBUG +CFLAGS += $(CFLAGS_EXTRA) LDLIBS = -lpthread ifneq ($(CROSS_COMPILE),)