ack/util/grind/char_tools.amk

25 lines
504 B
Plaintext
Raw Normal View History

1990-08-31 18:22:53 +00:00
# tabgen: tool definition for character table generator
# variables: TABGEN, CHTAB
%include ack-defs.amk;
%if (%not defined(TABGEN), {
TABGEN = $EMHOME/bin/tabgen;
});
%if (%not defined(CHTAB), {
CHTAB = chtab.c;
});
%instance deftypesuffix(char_tab, '%.ct');
%tool gen_tab (
chtab: %in [type = char_tab];
cfile: %out [type = C-src] => $CHTAB;
mktab: %in [type = command] => $TABGEN;
)
{
exec($mktab, args => '-f' $chtab, stdout => $cfile);
echo({$cfile, 'created'});
};