2017-08-31 22:20:30 +00:00
|
|
|
#! /usr/bin/env python3
|
|
|
|
# -*- mode: python -*-
|
|
|
|
# vi: set ft=python :
|
2016-07-12 02:56:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
def options(opt):
|
2019-02-18 04:11:51 +00:00
|
|
|
opt.load('nasm')
|
2017-07-28 21:24:37 +00:00
|
|
|
opt.load('compiler_cxx')
|
2016-07-12 02:56:22 +00:00
|
|
|
|
|
|
|
|
2019-02-18 04:11:51 +00:00
|
|
|
|
2016-07-12 02:56:22 +00:00
|
|
|
def configure(conf):
|
2019-02-18 04:11:51 +00:00
|
|
|
conf.load('nasm')
|
2017-07-28 21:24:37 +00:00
|
|
|
conf.load('compiler_cxx')
|
2016-07-12 02:56:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2019-02-18 04:11:51 +00:00
|
|
|
bld.program(source='generation.cpp', target='generation.elf')
|
2016-07-21 01:30:45 +00:00
|
|
|
bld(features='asm', source='seed.asm', target='seed')
|