X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2FMakefile.am;h=9ca2e53198bd8ae6755e37227b84e94fbeea35cc;hp=c205ef940b4dfe060674cca5dcf5483c666227cb;hb=8fbec78bf02e67469ffaea254d49c291f9987105;hpb=c6398c6a1b59f6eddefc9f9ce577017b15677251 diff --git a/src/Makefile.am b/src/Makefile.am index c205ef9..9ca2e53 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ -bin_PROGRAMS = ttt-server ttt-client +bin_PROGRAMS = ttt-server ttt-client ttt-curses-client +noinst_PROGRAMS = test-board ttt_common_sources = \ ttt-args.c \ @@ -22,7 +23,18 @@ ttt_server_SOURCES = \ ttt-client.c \ ttt-server.c +test_board_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