23 lines
		
	
	
		
			390 B
		
	
	
	
		
			Python
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			390 B
		
	
	
	
		
			Python
		
	
	
#! /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):
 | 
						|
    bld.program(
 | 
						|
        source='generation.c',
 | 
						|
        target='generation',
 | 
						|
        cflags=['-g', '-std=gnu11']
 | 
						|
    )
 | 
						|
    bld(features='asm', source='seed.asm', target='seed')
 |