Fixed bug in mate detection (introduced after switching to fail had)
[owl.git] / Makefile
blob93fd18981dbed3886e384c83c83a011d054c73eb
2 # This program is free software; you can redistribute it and/or modify
3 # it under the terms of the GNU General Public License as published by
4 # the Free Software Foundation; either version 2 of the License, or
5 # (at your option) any later version.
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 CC = gcc
17 CFLAGS += -O2 -fomit-frame-pointer -Wall -Wno-format \
18 -Wstrict-aliasing -DNDEBUG -DSTATISTIC_COUNTERS \
19 -DCONSOLE_DEBUG -lpthread -lm
21 sources = bitutils.c board.c book.c cmd.c engine.c \
22 epd.c evaluate.c extensions.c init_attacks.c \
23 init.c iterate.c main.c move.c movegen.c quiesce.c \
24 rand.c san.c search.c search_root.c see.c sort.c \
25 trans.c zobrist.c zwsearch.c
27 tuxce: $(sources)
28 $(CC) $(CFLAGS) $(sources) -o owl
30 clean:
31 rm -f owl