project( 'pipeshare', 'c', default_options: [ 'c_std=c99', 'warning_level=2', ], ) cc = meson.get_compiler('c') deps = [ cc.find_library('libowfat'), dependency('libmagic'), ] executable('pipeshare', files( './pipeshare.c', './send_stdin.c', './extension.c', ), dependencies:deps, install:true) executable('pipeshare-clean', files( './pipeshare-clean.c', ), dependencies:deps, install:true) install_man([ './pipeshare.1', './pipeshare-clean.1', ])