waf

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

wscript (415B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 # Thomas Nagy, 2011 (ita)
      4 
      5 """
      6 perform builds in a step-by-step fashion
      7 """
      8 
      9 VERSION='0.0.1'
     10 APPNAME='fsb'
     11 
     12 top = '.'
     13 
     14 def options(opt):
     15 	opt.load('fsb')
     16 	opt.load('compiler_c')
     17 
     18 def configure(conf):
     19 	conf.load('compiler_c')
     20 
     21 def build(bld):
     22 	bld.program(source='main.c', target='app')
     23 	bld.program(source='main.c', target='app2')
     24 	bld(rule='echo hello', source='wscript')
     25