X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2FMakefile.am;h=2e7ae737fdbe35e2fc2e64c19bca5d1883358b1b;hp=b7bce5028b59caf92dcb9c4afe43542753bb28cd;hb=c425d769ad013c2f76bd15e433fbda4e66436e05;hpb=52bff07c451d6f5fbb2d9dd4f76f41479ba3c323 diff --git a/src/Makefile.am b/src/Makefile.am index b7bce50..2e7ae73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,9 +1,25 @@ -bin_PROGRAMS = ttt +bin_PROGRAMS = ttt-server ttt-client -ttt_SOURCES = \ - args.c \ - args.h \ - ttt.c +ttt_common_sources = \ + ttt-args.c \ + ttt-args.h \ + ttt-board.c \ + ttt-board.h \ + ttt-command.c \ + ttt-command.h \ + ttt-error.c \ + ttt-error.h \ + x.c \ + x.h + +ttt_client_SOURCES = \ + $(ttt_common_sources) \ + ttt-client.c + +ttt_server_SOURCES = \ + $(ttt_common_sources) \ + ttt-server.c AM_CFLAGS = $(WARN_CFLAGS) $(TTT_CFLAGS) -ttt_LDFLAGS = $(TTT_LIBS) +ttt_client_LDFLAGS = $(TTT_LIBS) +ttt_server_LDFLAGS = $(TTT_LIBS)