Using shell commands, a bitmask is generated for each file. Additionally, a C header containing an array of loglevels and their files is created in include/loglevels.h.