summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-02-11 23:04:43 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2023-02-11 23:15:14 +0100
commitdfe4936d0ea3ca121ad85b6ffd0b6fba68f9f7cf (patch)
tree887818860e7b210f8db4b3f52151ee3b07bd4449 /meson.build
parentd2c1f3116eb05fd0ecb8cba3972b5afdad4589d9 (diff)
Replace build system by meson
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..34e85a0
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,20 @@
+project('camelsweeper', 'c')
+
+src_camelsweeper = [
+ 'src/flag.c',
+ 'src/flip.c',
+ 'src/init.c',
+ 'src/main.c',
+ 'src/move.c',
+ 'src/xSDL.c',
+]
+
+deps_camelsweeper = [
+ dependency('libsdl-digit'),
+ dependency('sdl'),
+]
+
+executable('camelsweeper', src_camelsweeper,
+ include_directories: ['include'],
+ dependencies: deps_camelsweeper,
+ install: true)