Makefile.bsd 843 B

12345678910111213
  1. CXX = clang++
  2. CXXFLAGS ?= ${CXX_DEBUG} -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-misleading-indentation
  3. ## NOTE: NEEDED_CXXFLAGS is here so that custom CXXFLAGS can be specified at build time
  4. ## **without** overwriting the CXXFLAGS which we need in order to build.
  5. ## For example, when adding 'hardening flags' to the build
  6. ## (e.g. -fstack-protector-strong -Wformat -Werror=format-security), we do not want to remove
  7. ## -std=c++11. If you want to remove this variable please do so in a way that allows setting
  8. ## custom FLAGS to work at build-time.
  9. NEEDED_CXXFLAGS = -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1
  10. INCFLAGS = -I/usr/include/ -I/usr/local/include/
  11. LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib
  12. LDLIBS = -lcrypto -lssl -lz -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread