wscript (416B)
1 #! /usr/bin/env python 2 3 top = '.' 4 out = 'build' 5 6 def options(opt): 7 opt.load('compiler_c') 8 opt.load('compiler_fc') 9 10 def configure(conf): 11 conf.load('compiler_c') 12 conf.load('compiler_fc') 13 14 def build(bld): 15 16 bld( 17 features = 'fc fcshlib', 18 source = 'parent.f90 container.f90 helper.f90', 19 target = 'fudge', 20 ) 21 bld( 22 features = 'fc fcprogram', 23 source = 'submain.f90', 24 use = 'fudge', 25 target = 'submain', 26 )