Change "precompile" to "compile." If you look at the output generated by clang++, it treats an output file ending in .pch as a different thing than any other output file. In this case, we'll actually be compiling each of the files, not trying to create a precompiled header.