OBJS = application.o bitboard.o pawns.o material.o endgame.o evaluate.o main.o \
misc.o move.o movegen.o history.o movepick.o search.o piece.o \
position.o direction.o tt.o value.o uci.o ucioption.o \
- maxgain.o mersenne.o book.o bitbase.o san.o benchmark.o
+ mersenne.o book.o bitbase.o san.o benchmark.o
### General rules. Do not change
@echo "Makefile options:"
@echo ""
@echo "make > Default: Compiler = g++"
+ @echo "make gcc-popcnt > Compiler = g++ + popcnt-support"
@echo "make icc > Compiler = icpc"
@echo "make icc-profile > Compiler = icpc + automatic pgo-build"
@echo "make icc-profile-popcnt > Compiler = icpc + automatic pgo-build + popcnt-support"
CXXFLAGS="$(GCCFLAGS)" \
all
+gcc-popcnt:
+ $(MAKE) \
+ CXX='g++' \
+ CXXFLAGS="$(GCCFLAGS) -DUSE_POPCNT" \
+ all
+
+
icc:
$(MAKE) \
CXX='icpc' \
### Dependencies. Do not change
.depend:
- $(CXX) -MM $(OBJS:.o=.cpp) > $@
+ $(CXX) -msse -MM $(OBJS:.o=.cpp) > $@
include .depend