This commit is contained in:
kento2 2026-09-09 18:41:42 +02:00
commit aae369b9c8
9 changed files with 334 additions and 0 deletions

29
meson.build Normal file
View file

@ -0,0 +1,29 @@
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',
])