- git
- gcc
- autotools (automake and autoconf)
- libtool
- make
- lex/yacc
- valgrind
- cppcheck
- astyle (manual build)
- fortune
Require autotools
and libtools
.
$ sudo dnf install autoconf automake libtool
$ ./bootstrap.sh
$ make
$ make check cppcheck
$ make help
Optional you can use bear
to make compilation database.
bear
will create the compile_commands.json
.
# From project root
$ make clean
$ bear -- make