X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnuccompiler.cpp;h=8fc8b6c9da626d3d45344598cbf774fc4132bd50;hb=25376a637c584fc9d491bb6a40c4c483341418b0;hp=4ff46e82ca22fc56219b3a4f466d22f3471cf72a;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/gnuccompiler.cpp b/source/gnuccompiler.cpp index 4ff46e8..8fc8b6c 100644 --- a/source/gnuccompiler.cpp +++ b/source/gnuccompiler.cpp @@ -1,3 +1,4 @@ +#include "csourcefile.h" #include "gnuccompiler.h" using namespace std; @@ -8,3 +9,8 @@ GnuCCompiler::GnuCCompiler(Builder &b): { input_suffixes.push_back(".c"); } + +Target *GnuCCompiler::create_source(const Component &comp, const FS::Path &path) const +{ + return new CSourceFile(builder, comp, path); +}