Updated README: Equal sign not required with `--mode` flag.
[sgk-go] / sgf / Makefile.am
CommitLineData
7eeb782e
AT
1noinst_PROGRAMS = sgfgen
2
3sgfgen_SOURCES = sgfgen.c
4
5EXTRA_DIST = sgf_extras.def sgf_properties.def sgfgen.dsp sgf.dsp CMakeLists.txt
6
7noinst_HEADERS = \
8 sgftree.h\
9 sgf_properties.h
10
11# Remove these files here... they are created locally
12DISTCLEANFILES = *~
13
14AM_CPPFLAGS = $(GNU_GO_WARNINGS) -I$(top_srcdir)/utils
15
16noinst_LIBRARIES = libsgf.a
17
18libsgf_a_SOURCES = \
19 sgf_utils.c \
20 sgfnode.c \
21 sgftree.c
22
23# To rebuild sgf_properties.h in case sgf_properties.def or sgf_extras.def
24# is changed, 'make sgf_properties'. Normally this is not needed.
25sgf_properties:
26 cat $(srcdir)/sgf_properties.def $(srcdir)/sgf_extras.def |\
27 ./sgfgen > sgf_properties.h