When invoked with the `-foreground` parameter, ircddbgatewayd
will print all logs to the console (stdout/stderr) instead of log files.
This allows ircddbgatewayd to be run in a container or as a systemd
standard service where applications are expected to provide logs
on standard output / standard error.
Generate dependency files so that when changing one file only stuff
dependant on that file gets rebuilt. Avoid cleaning the whole thing on
every small change