Compile a C file generated by flex

flex

  • Lexical analyzer generator. Based on `lex`.
    Given the specification for a lexical analyzer, generates C code implementing it.
    More information: <https://manned.org/flex>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

cc {{path/to/lex.yy.c}} --output {{executable}}

click the source code to copy install flex on any operating system with command-not-found.com