28 lines
503 B
Meson
28 lines
503 B
Meson
project(
|
|
'nobotgate', 'c',
|
|
default_options: [
|
|
'c_std=c99',
|
|
'warning_level=2',
|
|
],
|
|
)
|
|
|
|
cc = meson.get_compiler('c')
|
|
deps = [
|
|
cc.find_library('libowfat'),
|
|
]
|
|
|
|
add_project_arguments(
|
|
'-DPATH_TMP="'+get_option('path_tmp')+'"',
|
|
language: 'c',
|
|
)
|
|
|
|
executable('nobotgate', files(
|
|
'./nobotgate.c',
|
|
'./parse_token.c',
|
|
'./check_token.c',
|
|
'./send_headers.c',
|
|
), dependencies:deps, install:true)
|
|
|
|
executable('nobotgate-access', files(
|
|
'./nobotgate-access.c',
|
|
), dependencies:deps, install:true)
|