sgfgen_SOURCES = sgfgen.c
EXTRA_DIST = sgf_extras.def sgf_properties.def sgfgen.dsp sgf.dsp CMakeLists.txt
# Remove these files here... they are created locally
AM_CPPFLAGS = $(GNU_GO_WARNINGS) -I$(top_srcdir)/utils
noinst_LIBRARIES = libsgf.a
# To rebuild sgf_properties.h in case sgf_properties.def or sgf_extras.def
# is changed, 'make sgf_properties'. Normally this is not needed.
cat $(srcdir)/sgf_properties.def $(srcdir)/sgf_extras.def |\
./sgfgen > sgf_properties.h