initial commit
This commit is contained in:
commit
584aad56b8
19 changed files with 390 additions and 0 deletions
28
meson.build
Normal file
28
meson.build
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue