config.mk 521 Bytes
Newer Older
1
DCDBBASEPATH ?= $(realpath $(dir $(lastword $(MAKEFILE_LIST)))/..)
Michael Ott's avatar
Michael Ott committed
2
3
DCDBDEPSPATH ?= $(DCDBBASEPATH)/deps
DCDBDEPLOYPATH ?= $(DCDBBASEPATH)/install
4

Michael Ott's avatar
Michael Ott committed
5
DEFAULT_VERSION = 0.3
6
7
GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed 's/-\([0-9]*\)/.\1/')
VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION))
Michael Ott's avatar
Michael Ott committed
8

9
CXXFLAGS = -std=c++11 -O2 -g -Wall -fmessage-length=0 -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_LOG_DYN_LINK -DVERSION=\"$(VERSION)\" -Wno-unused-function -Wno-unused-variable
Michael Ott's avatar
Michael Ott committed
10
OS = $(shell uname -s)