Currently, in the makefile, the presence of the "reflex" tool is checked.
However, at least in Ubuntu there exists another tool called reflex, which is not a lexer but a file watcher. I accidentally installed it using "apt install reflex" (thinking this would install your preferred lexer) and got strange error messages about "-o" not being recognized.
It would be nice if the makefile could contain another check if the LEX argument was provided explicitly to make and use this if the user wants.
So if I run "make LEX=/my/path/to/flex" this should be used even when the file watcher tool called reflex is installed on the system.
Currently, in the makefile, the presence of the "reflex" tool is [checked](https://codeberg.org/shrub900/hell/src/commit/03aaf18e9bb47ef515d7607e6b52e7989acc74e1/Makefile#L89).
However, at least in Ubuntu there exists [another tool called reflex](https://packages.ubuntu.com/noble/reflex), which is not a lexer but a file watcher. I accidentally installed it using "apt install reflex" (thinking this would install your preferred lexer) and got strange error messages about "-o" not being recognized.
It would be nice if the makefile could contain another check if the LEX argument was provided explicitly to make and use this if the user wants.
So if I run "make LEX=/my/path/to/flex" this should be used even when the file watcher tool called reflex is installed on the system.