25 lines
432 B
Python
25 lines
432 B
Python
import sys
|
|
|
|
|
|
def options(opt):
|
|
opt.load('nasm compiler_c')
|
|
|
|
|
|
def configure(conf):
|
|
conf.load('nasm compiler_c')
|
|
conf.check_cc(header_name='openssl/sha.h')
|
|
|
|
|
|
def build(bld):
|
|
bld.program(
|
|
source='pic-linux.c',
|
|
target='pic-linux',
|
|
cflags='-g',
|
|
lib=['ssl', 'crypto'])
|
|
|
|
bld(features='asm',
|
|
source='scrap.asm',
|
|
target='scrap')
|
|
|
|
# gdb --args ./pic-linux scrap.asm.2.o
|