summaryrefslogtreecommitdiff
path: root/meson.build
blob: e1b8dceca27aedb12af5bd7265ae4136ad725377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-FileCopyrightText: 2024 Lizzy Fleckenstein <lizzy@vlhl.dev>
#
# 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/peer.c',
	'src/ser.c',
]

sillyserver = executable('sillyserver',
	sources: [
		src,
		'src/server.c',
	],
	include_directories: 'include/',
	dependencies: [
		deps,
		dependency('libpng'),
	],
	install: true,
)

run_target('run', command: sillyserver)