|
|
|
@ -3,14 +3,13 @@
|
|
|
|
|
|
|
|
|
|
def options(opt): |
|
|
|
|
opt.load('nasm') |
|
|
|
|
opt.load('python') |
|
|
|
|
opt.load('compiler_c') |
|
|
|
|
|
|
|
|
|
def configure(conf): |
|
|
|
|
conf.load('nasm') |
|
|
|
|
conf.load('python') |
|
|
|
|
conf.check_python_version((3,5,1)) |
|
|
|
|
conf.load('compiler_c') |
|
|
|
|
|
|
|
|
|
def build(bld): |
|
|
|
|
bld(features='py', source=('sins.py')) |
|
|
|
|
|
|
|
|
|
bld.program(source='pic-linux.c', target='pic-linux', cflags='-g') |
|
|
|
|
bld.program(source='sins.c', target='sins', cflags='-g') |
|
|
|
|
bld(features='asm', source='scrap.asm', target='scrap') |
|
|
|
|