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

@ -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),)