2015-11-10 19:09:26 +00:00
|
|
|
CXX = g++
|
|
|
|
CXXFLAGS = -O2 -D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN
|
2015-12-23 15:24:10 +00:00
|
|
|
NEEDED_CXXFLAGS = -std=c++11
|
2016-01-31 17:59:37 +00:00
|
|
|
BOOST_SUFFIX = -mt
|
2016-02-03 17:48:59 +00:00
|
|
|
INCFLAGS = -I/usr/include/ -I/usr/local/include/
|
2016-01-21 02:51:18 +00:00
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/c/dev/openssl -L/c/dev/boost/lib
|
2016-01-20 18:33:28 +00:00
|
|
|
LDLIBS = -Wl,-Bstatic -lboost_system$(BOOST_SUFFIX) -Wl,-Bstatic -lboost_date_time$(BOOST_SUFFIX) -Wl,-Bstatic -lboost_filesystem$(BOOST_SUFFIX) -Wl,-Bstatic -lboost_regex$(BOOST_SUFFIX) -Wl,-Bstatic -lboost_program_options$(BOOST_SUFFIX) -Wl,-Bstatic -lssl -Wl,-Bstatic -lcrypto -Wl,-Bstatic -lz -Wl,-Bstatic -lwsock32 -Wl,-Bstatic -lws2_32 -Wl,-Bstatic -lgdi32 -Wl,-Bstatic -liphlpapi -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -Wl,-Bstatic -lpthread
|
2016-02-03 17:48:59 +00:00
|
|
|
|
2016-02-03 20:00:55 +00:00
|
|
|
ifeq ($(USE_AESNI),1)
|
2016-02-03 17:48:59 +00:00
|
|
|
CPU_FLAGS = -maes -DAESNI
|
2016-02-05 20:58:14 +00:00
|
|
|
else
|
|
|
|
CPU_FLAGS = -msse
|
2016-02-03 17:48:59 +00:00
|
|
|
endif
|