waf

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

wscript (326B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 # Thomas Nagy, 2011 (ita)
      4 
      5 VERSION='0.0.1'
      6 APPNAME='cc_test'
      7 
      8 top = '.'
      9 
     10 def options(opt):
     11 	opt.load('compiler_c')
     12 
     13 def configure(conf):
     14 	conf.load('compiler_c')
     15 	conf.load('excl', tooldir='.')
     16 
     17 def build(bld):
     18 	for i in range(20):
     19 		bld.program(source='main.c', target='app_%d' % i)
     20