Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete the cpp and makefile file type #644

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Complete the cpp and makefile file type #644

wants to merge 1 commit into from

Conversation

yantaozhao
Copy link

No description provided.

Complete the cpp and makefile file type
@petdance
Copy link
Collaborator

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.

@yantaozhao
Copy link
Author

yantaozhao commented Jul 21, 2017

  1. Technically speaking, it's not right to treat the cplusplus file extension case-insensitive, since the uppercase .C is indeed the cplusplus source code file, but not c file. Please see https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html
  2. For makefile, at least the Makefile/makefile/GNUMakefile and *.mk should be added. Meanwhile, I think it's more convenient to add the Makefile.am as the makefile file. See https://www.gnu.org/software/automake/manual/html_node/amhello_0027s-Makefile_002eam-Setup-Explained.html

BRs.
😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants