initial commit

This commit is contained in:
kento2 2026-09-08 18:36:12 +02:00
commit 584aad56b8
19 changed files with 390 additions and 0 deletions

28
meson.build Normal file
View file

@ -0,0 +1,28 @@
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)