diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 10:28:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 10:28:33 -0800 |
commit | da23764aa8d5bfe3189cd5c472363fc298b6d5b2 (patch) | |
tree | 85e706b99eca5c5e6fb37085ab97e08ff0042525 /emcc | |
parent | d84cdea93caf240a03331ac876ad9ad82bc33d65 (diff) |
support C/C++ suffixes in capital form
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -53,8 +53,9 @@ from tools import shared, jsrun from tools.shared import Compression, execute, suffix, unsuffixed, unsuffixed_basename, WINDOWS from tools.response_file import read_response_file -CXX_SUFFIXES = ('.cpp', '.cxx', '.cc') -SOURCE_SUFFIXES = ('.c', '.cpp', '.cxx', '.cc', '.m', '.mm') +C_SUFFIXES = ('.c', '.C') +CXX_SUFFIXES = ('.cpp', '.cxx', '.cc', '.CPP', '.CXX', '.CC') +SOURCE_SUFFIXES = C_SUFFIXES + CXX_SUFFIXES + ('.m', '.mm') BITCODE_SUFFIXES = ('.bc', '.o', '.obj') DYNAMICLIB_SUFFIXES = ('.dylib', '.so', '.dll') STATICLIB_SUFFIXES = ('.a',) |