Fixed a segfault (typo) when free()ing the userdata.
[cboard.git] / libchess / Makefile.am
blob97459c3dcc7a52c5e24ff0e55bbb0a8025511ba3
1 EXTRA_DIST = debug.c debug.h
2 noinst_LIBRARIES = libchess.a
3 libchess_a_SOURCES = common.h pgn.c pgn.h chess.h move.c move.h
4 #libchess_a_LDFLAGS = -avoid-version
6 if WITH_DEBUG
7 libchess_a_SOURCES += $(top_builddir)/debug.c
8 CPPFLAGS += -DDEBUG
9 endif
11 if NO_STRSEP
12 libchess_a_SOURCES += $(top_builddir)/../osdep/strsep.c
13 endif
15 if NO_ERR_H
16 libchess_a_SOURCES += $(top_builddir)/../osdep/err.c
17 CPPFLAGS += -I$(top_builddir)/../osdep
18 endif