2014-10-30 00:54:47 +03:00
|
|
|
CXX = g++
|
2014-12-17 23:24:36 +03:00
|
|
|
CXXFLAGS = -O2
|
2014-12-17 23:46:19 +03:00
|
|
|
## NOTE: NEEDED_CXXFLAGS is here so that custom CXXFLAGS can be specified at build time
|
|
|
|
## **without** overwriting the CXXFLAGS which we need in order to build.
|
|
|
|
## For example, when adding 'hardening flags' to the build
|
|
|
|
## (e.g. -fstack-protector-strong -Wformat -Werror=format-security), we do not want to remove
|
|
|
|
## -std=c++11. If you want to remove this variable please do so in a way that allows setting
|
|
|
|
## custom FLAGS to work at build-time.
|
2014-12-17 23:24:36 +03:00
|
|
|
NEEDED_CXXFLAGS = -std=c++11
|
2015-07-27 23:17:31 +03:00
|
|
|
INCFLAGS = -I/usr/include/ -I/usr/local/include/ -I.
|
2014-10-31 01:47:19 +03:00
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib
|
|
|
|
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
2015-07-16 23:28:57 +03:00
|
|
|
LDTESTLIBS = -lboost_unit_test_framework
|