waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript (362B)


      1 #! /usr/bin/env python
      2 
      3 def options(opt):
      4 	opt.load('compiler_c')
      5 
      6 def configure(conf):
      7 	conf.load('compiler_c')
      8 
      9 	# choose wisely
     10 	conf.load('strip', tooldir='.')
     11 	#conf.load('strip_hack', tooldir='.')
     12 	#conf.load('strip_on_install', tooldir='.')
     13 
     14 def build(bld):
     15 	bld.shlib(source='a.c', target='lib1')
     16 	bld.program(source='main.c', target='app', use='lib1')
     17