logging: new makefile target to generate loglevels at compile time

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.
This commit is contained in:
Michael Stapelberg
2009-12-19 22:33:50 +01:00
parent a61e34d277
commit 5397e893b9
2 changed files with 21 additions and 6 deletions

View File

@ -74,5 +74,5 @@ endif
.SILENT:
# Always remake the following targets
.PHONY: install clean dist distclean
.PHONY: install clean dist distclean rm_loglevels