import libs = libenkits%lib{enkits}

./: exe{driver}:   cxx{driver}   $libs

# driver_c is pure C but links the C++ library. Use the C++ link rule (via a
# rule hint) so it is linked with the C++ compiler driver, which pulls in the
# C++ runtime. Without this a static link fails with undefined references to
# the C++ runtime (operator new/delete, std::thread, etc).
#
./: exe{driver_c}
[rule_hint=cxx] exe{driver_c}: c{driver_c} $libs
