X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2FMakefile.am;h=1d5de3f7669f20af0daa85e2f09edf2e73266f81;hp=4b336a05d2d9ff0c6bf8d55df1e89abfb4a83b14;hb=b95a33abda8faac3638691dde70de0d59fadb30f;hpb=907321c065fb1383e800f0794981df91d4327f57 diff --git a/src/Makefile.am b/src/Makefile.am index 4b336a0..1d5de3f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ bin_PROGRAMS = ttt-server ttt-client +noinst_PROGRAMS = test-board ttt_common_sources = \ ttt-args.c \ @@ -7,6 +8,7 @@ ttt_common_sources = \ ttt-board.h \ ttt-error.c \ ttt-error.h \ + ttt-lex.l \ ttt-socket.c \ ttt-socket.h \ x.c \ @@ -21,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) +