2016-07-12 02:56:22 +00:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
CC = 'clang'
|
|
|
|
|
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
opt.load('nasm')
|
|
|
|
opt.load('compiler_c')
|
|
|
|
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
conf.load('nasm')
|
|
|
|
conf.load('compiler_c')
|
|
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2017-07-20 21:16:59 +00:00
|
|
|
bld.shlib(
|
2016-07-21 01:30:45 +00:00
|
|
|
source='generation.c',
|
|
|
|
target='generation',
|
|
|
|
cflags=['-g', '-std=gnu11']
|
2016-07-12 02:56:22 +00:00
|
|
|
)
|
2016-07-21 01:30:45 +00:00
|
|
|
bld(features='asm', source='seed.asm', target='seed')
|