]> git.cworth.org Git - ttt/blob - src/Makefile.am
c205ef940b4dfe060674cca5dcf5483c666227cb
[ttt] / src / Makefile.am
1 bin_PROGRAMS = ttt-server ttt-client
2
3 ttt_common_sources =            \
4         ttt-args.c              \
5         ttt-args.h              \
6         ttt-board.c             \
7         ttt-board.h             \
8         ttt-error.c             \
9         ttt-error.h             \
10         ttt-lex.l               \
11         ttt-socket.c            \
12         ttt-socket.h            \
13         x.c                     \
14         x.h
15
16 ttt_client_SOURCES =            \
17         $(ttt_common_sources)   \
18         ttt.c
19
20 ttt_server_SOURCES =            \
21         $(ttt_common_sources)   \
22         ttt-client.c            \
23         ttt-server.c
24
25 AM_CFLAGS = $(WARN_CFLAGS) $(TTT_CFLAGS)
26 AM_LFLAGS = --header-file=ttt-lex.h -Cr
27 ttt_client_LDFLAGS = $(TTT_LIBS)
28 ttt_server_LDFLAGS = $(TTT_LIBS) -lpthread