summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2024-06-16 23:32:51 +0200
committerLizzy Fleckenstein <lizzy@vlhl.dev>2024-06-16 23:32:55 +0200
commit35c7cf611df4c76df28d30f858987cb263a1ed1f (patch)
treecd1267839df47db8766a32338cabb92a15411057 /meson.build
init
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..9ce7950
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,15 @@
+project('new_game', 'c', default_options: ['warning_level=2'])
+
+cc = meson.get_compiler('c')
+
+server = executable('server',
+ sources: [
+ 'server.c',
+ 'str.c',
+ 'peer.c',
+ ],
+ dependencies: [dependency('libpng')],
+ install: true,
+)
+
+run_target('run', command: server)