1 #include "csourcefile.h"
2 #include "gnuccompiler.h"
7 GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a):
8 GnuCompiler(b, a, "CC", "gcc")
10 input_suffixes.push_back(".c");
11 aux_suffixes.push_back(".h");
14 Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const
16 return new CSourceFile(builder, comp, path);
19 Target *GnuCCompiler::create_source(const FS::Path &path) const
21 return new CSourceFile(builder, path);