X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2FMakefile.am;h=1d5de3f7669f20af0daa85e2f09edf2e73266f81;hb=7de44ed398081656115dce6db7d0a04c1a50bb34;hp=5619e522b5bd9ff35598c95fcb2c9ca0447a9402;hpb=5d56d3cd8b4685e905ed604277ac9cb32c876127;p=ttt diff --git a/src/Makefile.am b/src/Makefile.am index 5619e52..1d5de3f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,14 @@ bin_PROGRAMS = ttt-server ttt-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 \ @@ -19,6 +23,13 @@ ttt_server_SOURCES = \ ttt-client.c \ ttt-server.c +test_board_SOURCES = \ + $(ttt_common_sources) \ + test-board.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) +