2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-25 19:30:04 +01:00
waf/playground/c/stlib2/wscript

31 lines
573 B
Plaintext
Raw Normal View History

2011-09-10 11:13:51 +02:00
#! /usr/bin/env python
"""static libraries using other static libraries"""
top = '.'
out = 'build'
parts = [ 'a', 'b' ]
def build(bld):
bld.stlib(
target = 'a',
source = 'a/a.c',
includes = 'a',
export_includes = 'a',
)
bld.stlib(
target = 'b',
source = 'b/b.c',
includes = 'b',
export_includes = 'b',
use = 'a',
)
bld.program(
target = 'test',
source = 'b/test.c',
use = 'b')