wscript 362 B

1234567891011121314151617
  1. #! /usr/bin/env python
  2. def options(opt):
  3. opt.load('compiler_c')
  4. def configure(conf):
  5. conf.load('compiler_c')
  6. # choose wisely
  7. conf.load('strip', tooldir='.')
  8. #conf.load('strip_hack', tooldir='.')
  9. #conf.load('strip_on_install', tooldir='.')
  10. def build(bld):
  11. bld.shlib(source='a.c', target='lib1')
  12. bld.program(source='main.c', target='app', use='lib1')