scrap-is-not-scrap/wscript

18 lines
410 B
Plaintext
Raw Normal View History

2016-04-20 01:45:44 +00:00
#! /usr/bin/env python
# encoding: utf-8
CC='clang'
2016-01-08 22:00:51 +00:00
2016-01-08 19:47:59 +00:00
def options(opt):
2016-04-20 01:45:44 +00:00
opt.load('nasm')
opt.load('compiler_c')
2016-01-08 22:00:51 +00:00
2016-01-08 19:47:59 +00:00
def configure(conf):
2016-04-20 01:45:44 +00:00
conf.load('nasm')
conf.load('compiler_c')
2016-01-08 19:47:59 +00:00
def build(bld):
bld.program(source='sins.c', target='sins',
cflags=['-g', '-std=gnu11'],
linkflags=['-lcrypto', '-lssl'])
2016-04-20 01:45:44 +00:00
bld(features='asm', source='scrap.asm', target='scrap')