summaryrefslogtreecommitdiff
path: root/meson.build
blob: 5e0c6f3ce45f1272fb1ad86b15f85b89a582adda (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
32
33
34
35
36
37
38
39
40
41
42
43
# 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/net.c',
	'src/ser.c',
	'src/ticker.c',
	'src/sig.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,
)