-bin_PROGRAMS = ttt-server ttt-client
+bin_PROGRAMS = ttt-server ttt-client ttt-curses-client
noinst_PROGRAMS = test-board
ttt_common_sources = \
$(ttt_common_sources) \
test-board.c
+ttt_curses_client_SOURCES = \
+ $(ttt_common_sources) \
+ curses.h \
+ ttt-curses-client.c
+
AM_CFLAGS = $(WARN_CFLAGS) $(TTT_CFLAGS)
AM_LFLAGS = --header-file=ttt-lex.h -Cr
ttt_client_LDFLAGS = $(TTT_LIBS)
ttt_server_LDFLAGS = $(TTT_LIBS) -lpthread
test_board_LDFLAGS = $(TTT_LIBS)
-
+ttt_curses_client_LDFLAGS = $(TTT_LIBS) -lncurses