forked from mirror/waf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
424 B
Python
29 lines
424 B
Python
#!/usr/bin/env python
|
|
|
|
"""
|
|
the objects should carry uselib variables (includes, libraries to link against)
|
|
to other objects and to the final link
|
|
"""
|
|
|
|
bld.env.LIB_Z = ['z']
|
|
bld.env.INCLUDES_Z = ['subdir']
|
|
|
|
bld.objects(
|
|
source = 'a.c',
|
|
target = 'AA',
|
|
use = 'Z',
|
|
)
|
|
|
|
bld.objects(
|
|
source = 'b.c',
|
|
target = 'BB',
|
|
use = 'AA',
|
|
)
|
|
|
|
bld.program(
|
|
source = 'c.c',
|
|
target = 'CC',
|
|
use = 'BB',
|
|
)
|
|
|