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.
18 lines
362 B
Python
18 lines
362 B
Python
#! /usr/bin/env python
|
|
|
|
def options(opt):
|
|
opt.load('compiler_c')
|
|
|
|
def configure(conf):
|
|
conf.load('compiler_c')
|
|
|
|
# choose wisely
|
|
conf.load('strip', tooldir='.')
|
|
#conf.load('strip_hack', tooldir='.')
|
|
#conf.load('strip_on_install', tooldir='.')
|
|
|
|
def build(bld):
|
|
bld.shlib(source='a.c', target='lib1')
|
|
bld.program(source='main.c', target='app', use='lib1')
|
|
|