wscript 489 B

1234567891011121314151617181920
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2010 (ita)
  4. top = '.'
  5. out = 'build'
  6. def options(opt):
  7. opt.load('compiler_c')
  8. opt.load('errcheck')
  9. def configure(conf):
  10. conf.load('compiler_c')
  11. def build(bld):
  12. bld(feature='c cprogram', source='main.c', target='app1')
  13. bld.program(sources='main.c', target='app2')
  14. bld.program(source='main.c', targets='app3')
  15. bld.program(source='main.c', target='app4', include='.')
  16. bld.program(source='main.c', target='app5', define='x=1')