X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=f126afac5c90cb50d162d408140f34f418494f65;hb=8d86e95e37823f66e12d251bca1c4803de7c7d94;hp=c836fd426eff02b44c6458e472a764c53b85b1bc;hpb=4dded4e72f9b9582db8adc9a478e9eda5841d8c5;p=stockfish diff --git a/src/Makefile b/src/Makefile index c836fd42..f126afac 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,8 +2,6 @@ # Copyright (C) 2004-2008 Tord Romstad (Glaurung author) # Copyright (C) 2008-2010 Marco Costalba, Joona Kiiski, Tord Romstad # -# This file is part of Stockfish. -# # Stockfish is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -34,7 +32,7 @@ PGOBENCH = ./$(EXE) bench 32 1 10 default depth ### Object files 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 position.o \ + misc.o movegen.o history.o movepick.o search.o position.o \ tt.o uci.o ucioption.o book.o bitbase.o san.o benchmark.o timeman.o @@ -278,10 +276,10 @@ ifeq ($(optimize),yes) endif ifeq ($(comp),icc) - CXXFLAGS += -fast - ifeq ($(os),osx) - CXXFLAGS += -mdynamic-no-pic + CXXFLAGS += -fast -mdynamic-no-pic + else + CXXFLAGS += -O3 endif endif endif