FIx debug segfault.
[cboard.git] / libchess / Makefile.am
blob7b9e6d615180cb32bae8b5717f3f665053479c22
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
4 #libchess_a_LDFLAGS = -avoid-version
6 if WITH_DEBUG
7 libchess_a_SOURCES += debug.c
8 CPPFLAGS += -DDEBUG
9 endif
11 if NO_STRSEP
12 libchess_a_SOURCES += $(top_srcdir)/osdep/strsep.c
13 endif
15 if NO_ERR_H
16 libchess_a_SOURCES += $(top_srcdir)/osdep/err.c
17 CPPFLAGS += -I$(top_srcdir)/osdep
18 endif