debug flag
This commit is contained in:
parent
57e8f559ee
commit
e0b307f190
|
@ -5,7 +5,7 @@ OBJECTS=$(SOURCES:%.c=%.o)
|
||||||
#CFLAGS=-march=core2 -mtune=core2 -O2 -mfpmath=sse -msse4.1 -pipe
|
#CFLAGS=-march=core2 -mtune=core2 -O2 -mfpmath=sse -msse4.1 -pipe
|
||||||
#LDFLAGS=-Wl,-O1 -Wl,--as-needed
|
#LDFLAGS=-Wl,-O1 -Wl,--as-needed
|
||||||
|
|
||||||
CFLAGS+=-O2 $(shell pkg-config --cflags liblist)
|
CFLAGS+=-g $(shell pkg-config --cflags liblist)
|
||||||
LDFLAGS+=$(shell pkg-config --libs liblist) -lpthread
|
LDFLAGS+=$(shell pkg-config --libs liblist) -lpthread
|
||||||
|
|
||||||
all: $(TARGET) echo-server echo-client
|
all: $(TARGET) echo-server echo-client
|
||||||
|
|
Loading…
Reference in New Issue