22 lines
573 B
Meson
22 lines
573 B
Meson
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'])
|