wscript 415 B

12345678910111213141516171819202122232425
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2011 (ita)
  4. """
  5. perform builds in a step-by-step fashion
  6. """
  7. VERSION='0.0.1'
  8. APPNAME='fsb'
  9. top = '.'
  10. def options(opt):
  11. opt.load('fsb')
  12. opt.load('compiler_c')
  13. def configure(conf):
  14. conf.load('compiler_c')
  15. def build(bld):
  16. bld.program(source='main.c', target='app')
  17. bld.program(source='main.c', target='app2')
  18. bld(rule='echo hello', source='wscript')