]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Update makefile to use PGO with Intel C++ v11.0
[stockfish] / src / Makefile
index ec143d60a2848ae888edf5381bbe7c3258d38cfc..f36de8d8046038750b5fe570cdae1ff03b97fd54 100644 (file)
@@ -24,9 +24,9 @@
 
 EXE = stockfish
 
-OBJS = bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o \
+OBJS = 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 square.o direction.o tt.o value.o uci.o ucioption.o \
+       position.o direction.o tt.o value.o uci.o ucioption.o \
        mersenne.o book.o bitbase.o san.o benchmark.o
 
 
@@ -37,7 +37,7 @@ OBJS = bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o \
 all: $(EXE) .depend
 
 clean:
-       $(RM) *.o .depend glaurung
+       $(RM) *.o .depend stockfish
 
 
 ###
@@ -91,15 +91,15 @@ CXXFLAGS += -wd383,869,981
 # CXXFLAGS += -mdynamic-no-pic -no-prec-div -ipo -static -xP
 
 
-# Profiler guided optimization with the Intel C++ compiler To use it, first
+# Profiler guided optimization with the Intel C++ compiler v11. To use it, first
 # create the directory ./profdata if it does not already exist, and delete its
 # contents if it does exist.  Then compile with -prof_gen, and run the
-# resulting binary for a while (for instance, do ./glaurung bench 128 1, and
+# resulting binary for a while (for instance, do ./stockfish bench 128 1, and
 # wait 15 minutes for the benchmark to complete).  Then do a 'make clean', and
 # recompile with -prof_use.
 
-# CXXFLAGS += -prof_gen -prof_dir profdata
-# CXXFLAGS += -prof_use -prof_dir ./profdata
+# CXXFLAGS += -prof-gen -prof-dir./profdata
+# CXXFLAGS += -prof-use -ipo -prof_dir./profdata
 
 
 # Profiler guided optimization with GCC.  I've never been able to make this