]> git.tdb.fi Git - builder.git/blob - source/gnuccompiler.cpp
Add a list of auxiliary suffixes to Tool
[builder.git] / source / gnuccompiler.cpp
1 #include "csourcefile.h"
2 #include "gnuccompiler.h"
3
4 using namespace std;
5 using namespace Msp;
6
7 GnuCCompiler::GnuCCompiler(Builder &b):
8         GnuCompiler(b, "CC", "gcc")
9 {
10         input_suffixes.push_back(".c");
11         aux_suffixes.push_back(".h");
12 }
13
14 Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const
15 {
16         return new CSourceFile(builder, comp, path);
17 }