summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-02-07 13:16:57 +0100
committerJose <jose@zeroc.com>2017-02-07 13:16:57 +0100
commit7e1a7f7047cfdaafd5abc244507706e9c5039c45 (patch)
tree4405dd61e9a4f817a5301197a2ce8a94df2563ce /cpp
parentRemoved unused methods (diff)
downloadice-7e1a7f7047cfdaafd5abc244507706e9c5039c45.tar.bz2
ice-7e1a7f7047cfdaafd5abc244507706e9c5039c45.tar.xz
ice-7e1a7f7047cfdaafd5abc244507706e9c5039c45.zip
ICE-7186 - Allow to build and tests from different directory
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index a37aeeb8164..f21258960a5 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -7,8 +7,8 @@
#
# **********************************************************************
-top_srcdir := ..
-lang_srcdir := $(top_srcdir)/cpp
+lang_srcdir := $(abspath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
+top_srcdir := $(abspath $(lang_srcdir)/../)
include $(top_srcdir)/config/Make.rules
include $(lang_srcdir)/config/Make.rules