Even though I’ve never read Gookin’s book, I’ve noticed that his website
tarball with C sources is quite useful, as it contains small self-contained
programs. To the sources I’ve added a makefile
to make build automated and
I’ve fixed programs which weren’t compiling.
For MacOSX I didn’t need anything. For Ubuntu you’ll probably have to type:
apt-get install libncurses5-dev libncurses5
Fetch the source, enter its folder and type make:
git clone https://github.com/wkoszek/ncurses_guide.git
cd ncurses_guide
./build.sh
The result of this will be in book/
and book-ref/
directories with .prog
programs, each one corresponding to its .c
file.
To clean-up, run:
./build.sh clean
The project is wired to Travis-Ci service:
Everything is compiled with 2 compilers: GCC and Clang and as of now compiles with no warnings.