Add status of process

This commit is contained in:
Nick Peng
2018-08-03 22:49:55 +08:00
parent f5863e4d82
commit 08c1f5e8d1
9 changed files with 178 additions and 101 deletions

View File

@@ -2,10 +2,10 @@
BIN=smartdns
OBJS_LIB=lib/rbtree.o lib/art.o lib/bitops.o
OBJS=smartdns.o fast_ping.o dns_client.o dns_server.o dns.o util.o tlog.o conf.o dns_cache.o $(OBJS_LIB)
CFLAGS=-g -O0 -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing
CFLAGS=-O2 -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing
CFLAGS +=-Iinclude
CFLAGS += -DBASE_FILE_NAME=\"$(notdir $<)\"
CXXFLAGS=-g -O0 -Wall -std=c++11
CXXFLAGS=-O2 -Wall -std=c++11
CXXFLAGS +=-Iinclude
LDFLAGS += -lpthread