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:40:01 +00:00
|
|
|
opt.load('compiler_c')
|
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:40:01 +00:00
|
|
|
conf.load('compiler_c')
|
2016-01-08 19:47:59 +00:00
|
|
|
|
|
|
|
def build(bld):
|
2016-06-27 23:40:01 +00:00
|
|
|
bld.program(source='pic-linux.c', target='pic-linux', cflags='-g')
|
|
|
|
bld.program(source='sins.c', target='sins', cflags='-g')
|
2016-04-20 01:45:44 +00:00
|
|
|
bld(features='asm', source='scrap.asm', target='scrap')
|