Take advantage of the recursive nature of .gitignore for Makefile entries.
[wine] / dlls / kernel / .gitignore
1 /kernel.res
2 /libkernel32.def
3 /version16.res