diff --git a/srcs/dependtool/static_analyser.go b/srcs/dependtool/static_analyser.go index d465e7c..c54ae7f 100644 --- a/srcs/dependtool/static_analyser.go +++ b/srcs/dependtool/static_analyser.go @@ -209,7 +209,8 @@ func findSourcesFiles(workspace string) ([]string, error) { } ext := filepath.Ext(info.Name()) - if ext == ".c" || ext == ".cpp" { + if ext == ".c" || ext == ".cpp" || ext == ".cc" || ext == ".h" || ext == ".hpp" || + ext == ".hcc" { filenames = append(filenames, path) } return nil