updated makefile to search in default librairies folder (still not .d)

the problem with .d is now a std problem : for lambda(), it says that required
standard is c++11, but it is clearly specified !

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>
finally a real makefile, so included <functionnal> where it is required (see desc)

in fact, to enable flags for compiler, we need to set thoses variables :
CXX=g++
CXXFLAGS := -std=c++11
Impossible to guess !

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>