X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2FMakefile.am;h=9ca2e53198bd8ae6755e37227b84e94fbeea35cc;hb=78c696d4ed9578c3d1ece01b8e4667839ff5fb04;hp=792b1ecc7ce42e5b1803e1eb24df180b8c0f405f;hpb=152ea9285ef3804783540d46263a7fc9802bc7db;p=ttt diff --git a/src/Makefile.am b/src/Makefile.am index 792b1ec..9ca2e53 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,14 @@ -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 \ ttt-args.h \ ttt-board.c \ ttt-board.h \ + ttt-error.c \ + ttt-error.h \ + ttt-lex.l \ ttt-socket.c \ ttt-socket.h \ x.c \ @@ -12,12 +16,25 @@ ttt_common_sources = \ ttt_client_SOURCES = \ $(ttt_common_sources) \ - ttt-client.c + ttt.c ttt_server_SOURCES = \ $(ttt_common_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) +ttt_server_LDFLAGS = $(TTT_LIBS) -lpthread +test_board_LDFLAGS = $(TTT_LIBS) +ttt_curses_client_LDFLAGS = $(TTT_LIBS) -lncurses