diff --git a/unit_tests/Makefile b/unit_tests/Makefile
index 55fbb613253d9f23262d350e8e04ee934da8d1bf..12384b58c175b7288fd0a74fbe5f940f77ea33cf 100644
--- a/unit_tests/Makefile
+++ b/unit_tests/Makefile
@@ -2,6 +2,8 @@ override CPPFLAGS	+= --std=c++1z
 override CPPFLAGS	+= -MMD -MP
 override CPPFLAGS	+= -I../source -I../include
 override CPPFLAGS	+= $(shell cat ../.cxxflags 2> /dev/null | xargs )
+override CPPFLAGS	+= $(shell cat .cxxflags 2> /dev/null | xargs )
+override LDLIBS		+= $(shell cat .ldlibs 2> /dev/null | xargs )
 
 SOURCES	:= $(shell echo *.cpp)
 TARGETS	:= $(SOURCES:%.cpp=%.test)