env = Environment () env.Append (CXXFLAGS = '-std=c++17') conf = Configure (env) if not conf.CheckCHeader ("mkdio.h"): print ("markdown header mkdio not found. Install libmarkdown2-dev or equivalent") Exit (1) if not conf.CheckCXXHeader ("fmt/format.h"): print ("libfmt header file fmt/format.h not found. Install the libfmt-dev or equivalent") Exit (1) env = conf.Finish () biaweb = env.Program (target='biaweb', source=['biaweb.cpp'], LIBS=['fmt', 'markdown'], LIBPATH=['/usr/lib', '/usr/local/lib']) Default (biaweb)