]> git.tdb.fi Git - builder.git/blobdiff - source/gnuccompiler.cpp
Split GnuLinker into sub-tools and select the appropriate one in create_target
[builder.git] / source / gnuccompiler.cpp
index 8fc8b6c9da626d3d45344598cbf774fc4132bd50..f0d356cbedcdfe7385a0b247fa727d7b4fe8659b 100644 (file)
@@ -8,9 +8,15 @@ GnuCCompiler::GnuCCompiler(Builder &b):
        GnuCompiler(b, "CC", "gcc")
 {
        input_suffixes.push_back(".c");
+       aux_suffixes.push_back(".h");
 }
 
 Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const
 {
        return new CSourceFile(builder, comp, path);
 }
+
+Target *GnuCCompiler::create_source(const FS::Path &path) const
+{
+       return new CSourceFile(builder, path);
+}