]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Store static value and king danger in TT also in TT.insert_pv() method
[stockfish] / src / Makefile
index 8eef9a4c73f9beb4aa78e1f05c2c7977a27c7157..46a8749dcf7a0c12f89f579bce7946b64d049a50 100644 (file)
@@ -35,7 +35,7 @@ PGOBENCH = ./$(EXE) bench 32 1 10 default depth
 ### Object files
 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 \
+       position.o direction.o tt.o uci.o ucioption.o \
        mersenne.o book.o bitbase.o san.o benchmark.o
 
 
@@ -219,7 +219,7 @@ ifeq ($(COMP),icc)
 endif
 
 ### 3.2 General compiler settings
-CXXFLAGS += -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
+CXXFLAGS = -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
 
 ifeq ($(comp),icc)
        CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
@@ -230,7 +230,7 @@ ifeq ($(os),osx)
 endif
 
 ### 3.3 General linker settings
-LDFLAGS += -lpthread $(EXTRALDFLAGS)
+LDFLAGS = -lpthread $(EXTRALDFLAGS)
 
 ifeq ($(os),osx)
        LDFLAGS += -arch $(arch)
@@ -408,7 +408,7 @@ install:
        -strip $(BINDIR)/$(EXE)
 
 clean:
-       $(RM) $(EXE) *.o .depend *~ core bench.txt
+       $(RM) $(EXE) *.o .depend *~ core bench.txt *.gcda
 
 testrun:
        @$(PGOBENCH)
@@ -500,7 +500,7 @@ icc-profile-clean:
 
 hpux:
        $(MAKE) \
-       CXX='/opt/aCC/bin/aCC -AA +hpxstd98 -DBIGENDIAN -mt +O3 -DNDEBUG' \
+       CXX='/opt/aCC/bin/aCC -AA +hpxstd98 -DBIGENDIAN -mt +O3 -DNDEBUG -DNO_PREFETCH' \
        CXXFLAGS="" \
        LDFLAGS="" \
        all