1 #include "csourcefile.h"
2 #include "gnuccompiler.h"
7 GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a, const FS::Path &sysroot):
8 GnuCompiler(b, a, "CC", sysroot)
10 set_command("gcc", true);
11 input_suffixes.push_back(".c");
12 aux_suffixes.push_back(".h");
15 Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const
17 return new CSourceFile(builder, comp, path);
20 Target *GnuCCompiler::create_source(const FS::Path &path) const
22 return new CSourceFile(builder, path);