* Makefile.am:
* configure.in:
* kub/Makefile.am: Add kub directory to build system.
* src/ttt-board.c: (ttt_board_is_won): Fix whitespace.
+2006-01-14 Carl Worth <cworth@cworth.org>
+
+ * Makefile.am:
+ * configure.in:
+ * kub/Makefile.am: Add kub directory to build system.
+
+ * src/ttt-board.c: (ttt_board_is_won): Fix whitespace.
+
2005-12-14 Carl Worth <cworth@cworth.org>
* src/ttt-server.h: Update the documentation of these functions to
2005-12-14 Carl Worth <cworth@cworth.org>
* src/ttt-server.h: Update the documentation of these functions to
AC_OUTPUT([
Makefile
src/Makefile
AC_OUTPUT([
Makefile
src/Makefile
--- /dev/null
+bin_PROGRAMS = kub
+
+kub_sources = \
+ kub.c
+
+AM_CFLAGS = $(WARN_CFLAGS) $(TTT_CFLAGS)
+kub_LDFLAGS = $(TTT_LIBS)
if (board->cells[0] != TTT_CELL_EMPTY &&
board->cells[0] == board->cells[4] &&
if (board->cells[0] != TTT_CELL_EMPTY &&
board->cells[0] == board->cells[4] &&
- board->cells[0]== board->cells[8])
+ board->cells[0] == board->cells[8])
{
return board->cells[0];
}
if (board->cells[2] != TTT_CELL_EMPTY &&
board->cells[2] == board->cells[4] &&
{
return board->cells[0];
}
if (board->cells[2] != TTT_CELL_EMPTY &&
board->cells[2] == board->cells[4] &&
- board->cells[2]== board->cells[6])
+ board->cells[2] == board->cells[6])
{
return board->cells[2];
}
{
return board->cells[2];
}