From: MichaƂ Bartoszkiewicz Date: Tue, 6 Feb 2018 12:08:11 +0000 (+0100) Subject: Umesonowienie X-Git-Url: https://git.bzium.org/embe/choinka.git/commitdiff_plain/3d86e69de6d9e786ed1a70895bb707151280313c?ds=inline Umesonowienie --- diff --git a/.gitignore b/.gitignore index b0c2afc..5e26f47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,6 @@ *.o choinka -# autotools -.deps -aclocal.m4 -autom4te.cache -build-aux -config.log -config.status -configure -Makefile -Makefile.in +# dla Mesona +/build/ +/build-*/ diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 4cb0421..0000000 --- a/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -bin_PROGRAMS := choinka -choinka_SOURCES := choinka.c diff --git a/configure.ac b/configure.ac deleted file mode 100644 index bcfe79a..0000000 --- a/configure.ac +++ /dev/null @@ -1,14 +0,0 @@ -AC_PREREQ([2.65]) -AC_INIT([choinka], [1.0]) -AC_CONFIG_SRCDIR([choinka.c]) -AC_CONFIG_AUX_DIR([build-aux]) - -AM_INIT_AUTOMAKE([1.11 foreign]) -AM_SILENT_RULES([yes]) - -AC_PROG_CC_C99 - -AC_SEARCH_LIBS([setupterm], [ncurses]) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..1d114a8 --- /dev/null +++ b/meson.build @@ -0,0 +1,3 @@ +project('choinka', 'c', default_options: ['c_std=c11']) +ncurses_dep = dependency('ncurses') +executable('choinka', 'choinka.c', dependencies: ncurses_dep)