From e1e330265346d305c44fce459169372bd3c4d831 Mon Sep 17 00:00:00 2001 From: zombie Date: Fri, 4 Mar 2022 00:07:05 -0500 Subject: [PATCH] added some flags for the build --- meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index cbdc50a..c4347b8 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,9 @@ -project('playergame', 'c') +project('playergame', 'c', + default_options: [ + 'c_std=c99', + 'c_flags=-Wall -Werror -Wextra -g' + ] +) cursesdep = dependency('curses') -executable('playergame', 'src/main.c', dependencies : cursesdep) +executable('playergame', 'src/main.c', dependencies: cursesdep)