Improve Makefile for CC/CPP options

This commit is contained in:
df 2020-07-24 10:16:53 +01:00
parent c9a1e4cf0d
commit e42e88d61f

View File

@ -2,11 +2,13 @@
# Makefile for tinysvcmdns # Makefile for tinysvcmdns
# #
CPPFLAGS += -DPTHREAD_CREATE_DETACHED_SUPPORTED CPPFLAGS += -DPTHREAD_CREATE_DETACHED_SUPPORTED
#CPPFLAGS += -DNDEBUG
CPPFLAGS += $(CPPFLAGS_EXTRA)
CFLAGS += -Wall -pedantic -std=gnu99 CFLAGS += -Wall -pedantic -std=gnu99
CFLAGS += -g CFLAGS += -g
CFLAGS += -O2 CFLAGS += -O2
#CFLAGS += -DNDEBUG CFLAGS += $(CFLAGS_EXTRA)
LDLIBS = -lpthread LDLIBS = -lpthread
ifneq ($(CROSS_COMPILE),) ifneq ($(CROSS_COMPILE),)