Building a skeletal multi file sketch fails -- why?

PaulS:
The key is in this line:

=== lib.c: =======================================

Rename the file to have a .cpp extension, instead.

Thanks, Paul!

Problem solved!

It would have taken me a while to figure that one out myself!