|
|
|
|
|
|
|
|
############################################################################### |
|
|
############################################################################### |
|
|
|
|
|
|
|
|
CC := gcc |
|
|
CC := gcc |
|
|
#CCFLAGS := -fPIC -Wall -Werror -std=c11 -pedantic -O2 |
|
|
|
|
|
CCFLAGS := -DLC6_DEBUG -fPIC -Wall -Werror -std=c11 -pedantic -g |
|
|
|
|
|
|
|
|
#CCFLAGS := -fPIC -Wall -Werror -std=c99 -pedantic -O2 _POSIX_C_SOURCE=200112L |
|
|
|
|
|
CCFLAGS := -DLC6_DEBUG -fPIC -Wall -Werror -std=c99 -pedantic -g -D_POSIX_C_SOURCE=200112L |
|
|
LDFLAGS := |
|
|
LDFLAGS := |
|
|
LIBS := -lchat6 -lssl -lpthread -lcrypto -lsodium |
|
|
LIBS := -lchat6 -lssl -lpthread -lcrypto -lsodium |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TARGETS:= $(LIBDIR)/libchat6.so $(LIBDIR)/libchat6.a |
|
|
TARGETS:= $(LIBDIR)/libchat6.so $(LIBDIR)/libchat6.a |
|
|
MAINS := $(.o, $(TARGETS) ) |
|
|
MAINS := $(.o, $(TARGETS) ) |
|
|
OBJ := \ |
|
|
OBJ := \ |
|
|
|
|
|
lc6_msg.o \ |
|
|
|
|
|
lc6_common.o \ |
|
|
|
|
|
lc6_debug.o \ |
|
|
lc6_bootstrap.o \ |
|
|
lc6_bootstrap.o \ |
|
|
lc6_time.o \ |
|
|
lc6_time.o \ |
|
|
lc6_node.o \ |
|
|
lc6_node.o \ |