2023-01-04 22:32:55 +00:00
|
|
|
executable('hello',
|
|
|
|
sources : qbe.process('hello.ssa'),
|
|
|
|
link_args : ['-static'])
|
|
|
|
|
|
|
|
# XXX why is this needed?
|
|
|
|
custom_target('42.ssa',
|
|
|
|
command : ['cp', '@INPUT@', '@OUTPUT@'],
|
|
|
|
input : xc.process('42.x'),
|
|
|
|
output : '@BASENAME@.ssa')
|
|
|
|
executable('42',
|
|
|
|
sources : qbe.process(xc.process('42.x')),
|
|
|
|
link_args : ['-static'])
|
|
|
|
|
|
|
|
# XXX why is this needed?
|
|
|
|
custom_target('fib.ssa',
|
|
|
|
command : ['cp', '@INPUT@', '@OUTPUT@'],
|
|
|
|
input : xc.process('fib.x'),
|
|
|
|
output : '@BASENAME@.ssa')
|
|
|
|
executable('fib',
|
|
|
|
sources : qbe.process(xc.process('fib.x')),
|
|
|
|
link_args : ['-static'])
|
2023-01-07 08:56:27 +00:00
|
|
|
|
|
|
|
# XXX why is this needed?
|
|
|
|
custom_target('sieve.ssa',
|
|
|
|
command : ['cp', '@INPUT@', '@OUTPUT@'],
|
|
|
|
input : xc.process('sieve.x'),
|
|
|
|
output : '@BASENAME@.ssa')
|
|
|
|
executable('sieve',
|
|
|
|
sources : qbe.process(xc.process('sieve.x')),
|
|
|
|
link_args : ['-static'])
|