Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 506 Bytes
C++ = g++
DEBUG = 1
STATIC = 1
CCFLAGS = -DMULTITHREADED_LOGGER -I. -I../include -I../udt
LDFLAGS = -lstdc++ -lpthread -lssl -lcrypto -L. -L../lib
ifeq ($(OSX), 1)
LIBPATH_NAME=DYLD_LIBRARY_PATH
else
LIBPATH_NAME=LD_LIBRARY_PATH
endif
WARNING = -Wall -Wextra
# -Werror -pedantic -Woverloaded-virtual -Wnon-virtual-dtor -Wcomment -Wstrict-null-sentinel -Wconversion -Wcast-align -Wcast-qual -Winit-self -Weffc++
ifeq ($(DEBUG), 1)
CCFLAGS += -g -DDEBUG $(WARNING)
else
CCFLAGS += -O3
endif