░█████╗░░█████╗░███╗░░██╗░█████╗░██╗░░░░░██╗░░░██╗░██████╗███████╗ ██╔══██╗██╔══██╗████╗░██║██╔══██╗██║░░░░░╚██╗░██╔╝██╔════╝██╔════╝ ██║░░╚═╝███████║██╔██╗██║███████║██║░░░░░░╚████╔╝░╚█████╗░█████╗░░ ██║░░██╗██╔══██║██║╚████║██╔══██║██║░░░░░░░╚██╔╝░░░╚═══██╗██╔══╝░░ ╚█████╔╝██║░░██║██║░╚███║██║░░██║███████╗░░░██║░░░██████╔╝███████╗ ░╚════╝░╚═╝░░╚═╝╚═╝░░╚══╝╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚═════╝░╚══════╝
Options: [--countlines] count all lines including comments and whitespace
[--countcharacters] count all characters
[--countcodelines] count all lines of code
[--removecomments] remove all comments and out a .o file with the same name
[--balancebrackets] check that all brackets are balanced
[--functioncount] count the number of functions
[--all] run all checks
[--help] display help message
- Open a terminal
- Run
$ make
same directory as the files $ make
should complete without error and generate acanalyse
binary- Run canalyse with
$ ./canalyse
or proceed to install
- Run
$ sudo make install
or# make install
You have now sucessfully install Canalyse and can use it in commandline from any directory