2016-04-20 01:45:44 +00:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# encoding: utf-8
|
2016-01-08 22:00:51 +00:00
|
|
|
|
2016-01-08 19:47:59 +00:00
|
|
|
def options(opt):
|
2016-04-20 01:45:44 +00:00
|
|
|
opt.load('nasm')
|
2016-06-27 23:54:47 +00:00
|
|
|
opt.load('compiler_cxx')
|
2016-01-08 22:00:51 +00:00
|
|
|
|
2016-01-08 19:47:59 +00:00
|
|
|
def configure(conf):
|
2016-04-20 01:45:44 +00:00
|
|
|
conf.load('nasm')
|
2016-06-27 23:54:47 +00:00
|
|
|
conf.load('compiler_cxx')
|
2016-01-08 19:47:59 +00:00
|
|
|
|
|
|
|
def build(bld):
|
2016-06-27 23:54:47 +00:00
|
|
|
bld.program(source='sins.cpp', target='sins', cflags='-g')
|
2016-04-20 01:45:44 +00:00
|
|
|
bld(features='asm', source='scrap.asm', target='scrap')
|