X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2FMakefile.am;h=c205ef940b4dfe060674cca5dcf5483c666227cb;hp=792b1ecc7ce42e5b1803e1eb24df180b8c0f405f;hb=c6398c6a1b59f6eddefc9f9ce577017b15677251;hpb=152ea9285ef3804783540d46263a7fc9802bc7db diff --git a/src/Makefile.am b/src/Makefile.am index 792b1ec..c205ef9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,9 @@ ttt_common_sources = \ 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 +15,14 @@ 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 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