ack2
ack2 copied to clipboard
Complete the cpp and makefile file type
The uppercase H and C are unnecessary because extension checking is case-insensitive.
I'm not sure it makes sense to exclude Makefile.am. It's not really a Makefile.
- Technically speaking, it's not right to treat the cplusplus file extension case-insensitive, since the uppercase
.Cis indeed the cplusplus source code file, but not c file. Please see https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html - For makefile, at least the
Makefile/makefile/GNUMakefileand*.mkshould be added. Meanwhile, I think it's more convenient to add theMakefile.amas the makefile file. See https://www.gnu.org/software/automake/manual/html_node/amhello_0027s-Makefile_002eam-Setup-Explained.html
BRs. 😺