Fix spelling and grammar in a comment.
[oota-llvm.git] / tools / llvmc2 / examples / Simple.td
1 // A simple wrapper for gcc.
2 // To compile, use this command:
3 //    make TOOLNAME=llvmc_simple GRAPH=examples/Simple.td
4
5 include "Common.td"
6
7 def gcc : Tool<
8 [(in_language "c"),
9  (out_language "executable"),
10  (output_suffix "out"),
11  (cmd_line "gcc $INFILE -o $OUTFILE"),
12  (sink)
13 ]>;
14
15 def LanguageMap : LanguageMap<[LangToSuffixes<"c", ["c"]>]>;
16
17 def CompilationGraph : CompilationGraph<[Edge<root, gcc>]>;