2005-11-05 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Sat, 5 Nov 2005 16:17:32 +0000 (16:17 +0000)
committerCarl Worth <carl@theworths.org>
Sat, 5 Nov 2005 16:17:32 +0000 (16:17 +0000)
        * src/Makefile.am: Break things up for separate ttt-client and
        ttt-server and programs.

ChangeLog
src/Makefile.am

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..63169bbaa3538a255e95fec84f10fe87f6b91374 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,5 @@
+2005-11-05  Carl Worth  <cworth@cworth.org>
+
+       * src/Makefile.am: Break things up for separate ttt-client and
+       ttt-server and programs.
+
index b7bce5028b59caf92dcb9c4afe43542753bb28cd..9b52b44f86ae6b819e7ff40462dc8a941f5656fe 100644 (file)
@@ -1,9 +1,23 @@
-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
+
+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)