X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=549b7867cbd8d53ab15f31f0400ce65198d2b8fd;hp=1d258a4485db95f3d68700c68e6fcba3f3c1d026;hb=45acec1865f19297d91c6aff0ba64b990ad7d242;hpb=efeb37c33f15a903dbe5706529a7a26511e9ca58 diff --git a/src/Makefile b/src/Makefile index 1d258a44..549b7867 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,8 +32,8 @@ 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 \ - direction.o tt.o uci.o ucioption.o book.o bitbase.o san.o benchmark.o timeman.o + misc.o move.o movegen.o movepick.o search.o position.o \ + tt.o uci.o ucioption.o book.o bitbase.o benchmark.o timeman.o ### ========================================================================== @@ -238,7 +236,7 @@ ifeq ($(comp),mingw) endif ifeq ($(comp),icc) - CXXFLAGS += -wd383,981,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi + CXXFLAGS += -wd383,981,1418,1419,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi endif ifeq ($(os),osx) @@ -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