Take advantage of the recursive nature of .gitignore for Makefile entries.
[wine] / dlls / query /
drwxr-xr-x   ..
-rw-r--r-- 283 Makefile.in
-rw-r--r-- 1302 query.spec
-rw-r--r-- 1960 query_main.c