1 2 3 4 5 6 7 8 9 10 11 12 13 14
stress = executable( 'stress', files('stress.c'), dependencies: [glib], link_args: ['-static'], build_by_default: false, ) custom_target( 'initrd-stress.img', output: 'initrd-stress.img', input: stress, command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@'] )