Dahdi selective compile

With Zaptel I could compile only certain modules. How do I do that with Dahdi? Some of the Dahdi modules don’t compile for me, but the ones I need do, so selective compiling is pretty much the only option.