scrap-is-not-scrap/wscript

21 lines
360 B
Python

#! /usr/bin/env python
# encoding: utf-8
CC = 'clang++'
def options(opt):
opt.load('nasm')
opt.load('compiler_cxx')
def configure(conf):
conf.load('nasm')
conf.load('compiler_cxx')
def build(bld):
bld.program(
source='generation.cpp',
target='generation.elf')
bld(features='asm', source='seed.asm', target='seed')