build update

master
Xyc0 2016-06-27 23:40:01 +00:00
parent 2ce5281a55
commit 8ccbadf94b
1 changed files with 4 additions and 5 deletions

View File

@ -3,14 +3,13 @@
def options(opt): def options(opt):
opt.load('nasm') opt.load('nasm')
opt.load('python') opt.load('compiler_c')
def configure(conf): def configure(conf):
conf.load('nasm') conf.load('nasm')
conf.load('python') conf.load('compiler_c')
conf.check_python_version((3,5,1))
def build(bld): 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') bld(features='asm', source='scrap.asm', target='scrap')