title: How do I build a static library in WAF?
body: <p>My scenario goes like this:</p>
  
  <p>wscript:</p>
  
  <pre><code>def options(opt):
      opt.load('compiler_c')
      opt.load('compiler_cxx')        
  
  def configure(ctx):
      ctx.load('compiler_c')
      ctx.load('compiler_cxx')        
  
  def build(ctx):
      ctx.objects(source = "file0.c",
                  target = "cFiles")
  
      ctx.objects(source = "file1.cpp file2.cpp",
                  target = "cxxFiles")
  
      ctx.stlib(source = "???",
                target = "test")   
  </code></pre>
  
  <p>How do I call 'ctx.stlib()'? </p>