wscript (271B)
1 #! /usr/bin/env python 2 3 top = '../diff_top_src' 4 out = 'build' 5 6 def options(opt): 7 opt.load('compiler_c') 8 9 def configure(conf): 10 conf.load('compiler_c') 11 12 def build(bld): 13 bld.program( 14 source = bld.srcnode.ant_glob('*.c'), 15 target = 'main', 16 ) 17 18 # vim:ft=python:noet