diff --git a/programs/Hadrons/Global.hpp b/programs/Hadrons/Global.hpp index 716aaed9..21e7ac7c 100644 --- a/programs/Hadrons/Global.hpp +++ b/programs/Hadrons/Global.hpp @@ -30,8 +30,7 @@ directory. #include #include -#include -#include +#include #define BEGIN_HADRONS_NAMESPACE \ namespace Grid {\ @@ -50,7 +49,7 @@ class HadronsLogger: public Logger { public: HadronsLogger(int on, std::string nm): Logger("Hadrons", on, nm, - Logger::BLACK){}; + GridLogColours, "BLACK"){}; }; #define LOG(channel) std::cout << HadronsLog##channel diff --git a/programs/Hadrons/Makefile.am b/programs/Hadrons/Makefile.am index 64ad5252..2372c025 100644 --- a/programs/Hadrons/Makefile.am +++ b/programs/Hadrons/Makefile.am @@ -1,5 +1,4 @@ -AM_CXXFLAGS = -I$(top_srcdir)/programs -I../$(top_srcdir)/programs -I$(top_srcdir)/lib -AM_LDFLAGS = -L$(top_builddir)/lib +AM_CXXFLAGS += -I$(top_srcdir)/programs -I../$(top_srcdir)/programs bin_PROGRAMS = Hadrons