Unfortunately, Bazel doesn't accept .def as header fragments in cc_binary.
(Corresponding to CMake's add_executable)
In addition, .def is sometimes used to Win32's module definitions.
Could you avoid using .def here?
Note, Bazel's cc_library may accept header files with any suffix.
clang-format not found in user’s local PATH; not linting file.