Improve Makefile for CC/CPP options
This commit is contained in:
parent
c9a1e4cf0d
commit
e42e88d61f
4
Makefile
4
Makefile
@ -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),)
|
||||||
|
Loading…
Reference in New Issue
Block a user