This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
Now, you can build in separate directories per configuration: mkdir foo (cd foo && ../setup.lua) samu -C foo