ignore autogenerated C++ files

the qmake -generated Makefile also needs to be guarded against git butterfingers, but that means tweaking the build procedure