mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
24ea24ff24
Also build a main program that uses the parent module.
27 lines
416 B
Python
27 lines
416 B
Python
#! /usr/bin/env python
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def options(opt):
|
|
opt.load('compiler_c')
|
|
opt.load('compiler_fc')
|
|
|
|
def configure(conf):
|
|
conf.load('compiler_c')
|
|
conf.load('compiler_fc')
|
|
|
|
def build(bld):
|
|
|
|
bld(
|
|
features = 'fc fcshlib',
|
|
source = 'parent.f90 container.f90 helper.f90',
|
|
target = 'fudge',
|
|
)
|
|
bld(
|
|
features = 'fc fcprogram',
|
|
source = 'submain.f90',
|
|
use = 'fudge',
|
|
target = 'submain',
|
|
)
|