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.
36 lines
433 B
Python
36 lines
433 B
Python
#!/usr/bin/env python
|
|
|
|
"""
|
|
when linked, object files should bring the libraries (uselib) they refer to
|
|
"""
|
|
|
|
bld.env.LIB_Z = ['z']
|
|
|
|
bld.objects(
|
|
source = 'a.c',
|
|
target = 'A',
|
|
use = 'Z',
|
|
)
|
|
|
|
|
|
bld.program(
|
|
source = 'a-test.c',
|
|
target = 'a-test',
|
|
use = 'A',
|
|
)
|
|
|
|
"""
|
|
bld.objects(
|
|
source = 'b.c',
|
|
target = 'B',
|
|
use = 'A',
|
|
)
|
|
|
|
bld.program(
|
|
source = 'c.c',
|
|
target = 'C',
|
|
use = 'B',
|
|
)
|
|
"""
|
|
|