|
|
|
@ -1,11 +1,11 @@
@@ -1,11 +1,11 @@
|
|
|
|
|
CXX = clang++ |
|
|
|
|
CXXFLAGS = -g -Wall -std=c++11 -DMAC_OSX |
|
|
|
|
CXXFLAGS = -Os -Wall -std=c++11 -DMAC_OSX |
|
|
|
|
#CXXFLAGS = -g -O2 -Wall -std=c++11
|
|
|
|
|
INCFLAGS = -I/usr/local/include -I/usr/local/ssl/include |
|
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/ssl/lib |
|
|
|
|
INCFLAGS = -I/usr/local/include |
|
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib |
|
|
|
|
|
|
|
|
|
ifeq ($(USE_STATIC),yes) |
|
|
|
|
LDLIBS = -lz -lcrypto -lssl /usr/local/lib/libboost_system.a /usr/local/lib/libboost_date_time.a /usr/local/lib/libboost_filesystem.a /usr/local/lib/libboost_program_options.a -lpthread |
|
|
|
|
LDLIBS = -lz -l/usr/local/lib/libcrypto.a -l/usr/local/lib/libssl.a /usr/local/lib/libboost_system.a /usr/local/lib/libboost_date_time.a /usr/local/lib/libboost_filesystem.a /usr/local/lib/libboost_program_options.a -lpthread |
|
|
|
|
else |
|
|
|
|
LDLIBS = -lz -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread |
|
|
|
|
endif |
|
|
|
|