]> git.tdb.fi Git - builder.git/blob - source/gnuccompiler.cpp
Move C-specific stuff from SourceFile to CSourceFile
[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 }
12
13 Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const
14 {
15         return new CSourceFile(builder, comp, path);
16 }