<blockquote>
<p>How do I do this? The manual doesn't explain or give an example.</p>
</blockquote>
<p>I think you e.g. have to edit the section in the filetypes files. E.g. find below the <code>build-menu</code> section from <code>filetypes.c</code>:</p>
<pre><code>[build-menu]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
FT_00_LB=_Compile
FT_00_CM=gcc -Wall -c "%f"
FT_00_WD=
FT_01_LB=_Build
FT_01_CM=gcc -Wall -o "%e" "%f"
FT_01_WD=
FT_02_LB=_Lint
FT_02_CM=cppcheck --language=c --enable=warning,style --template=gcc "%f"
FT_02_WD=
EX_00_LB=_Execute
EX_00_CM="./%e"
EX_00_WD=
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2274?email_source=notifications&email_token=AAIOWJ7WTBVZ3OW2NC7YBF3QG2PKRA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LUS7A#issuecomment-525814140">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ35TK3EQW5KIIMJPQDQG2PKRANCNFSM4IPFVZRQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5LU5IH34QXRJ5XUY3QG2PKRA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LUS7A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2274?email_source=notifications\u0026email_token=AAIOWJ7WTBVZ3OW2NC7YBF3QG2PKRA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LUS7A#issuecomment-525814140",
"url": "https://github.com/geany/geany/issues/2274?email_source=notifications\u0026email_token=AAIOWJ7WTBVZ3OW2NC7YBF3QG2PKRA5CNFSM4IPFVZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LUS7A#issuecomment-525814140",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>