# SPDX-FileCopyrightText: 2024 Lizzy Fleckenstein # # SPDX-License-Identifier: AGPL-3.0-or-later project('silly_game', 'c', default_options: ['warning_level=2']) deps = [ dependency('endian'), dependency('perlin'), ] src = [ 'src/str.c', 'src/net.c', 'src/ser.c', 'src/ticker.c', 'src/sig.c', 'src/chunk.c', ] include = 'include/' executable('sillyserver', sources: [ src, 'src/server.c', ], include_directories: include, dependencies: [ deps, dependency('libpng'), ], install: true, ) executable('sillyclient', sources: [ src, 'src/client.c', ], include_directories: include, dependencies: deps, install: true, )