X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile;h=ff3405f7883c08e2cc379ca76d6bf6c312629bd4;hb=bfd4421f490e721958a77b8304d8ebcb574a583f;hp=c9da6d9b8ca9a5fe434d010248eb00a6a45c1470;hpb=565d12bf423e1aa398e69187ce51d176af21763c;p=stockfish diff --git a/src/Makefile b/src/Makefile index c9da6d9b..ff3405f7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -26,8 +26,8 @@ EXE = stockfish ### Compiler speed switches for both GCC and ICC. These settings are generally ### fast on a broad range of systems, but may be changed experimentally ### ========================================================================== -GCCFLAGS = -O3 -ICCFLAGS = -fast +GCCFLAGS = -O3 -msse +ICCFLAGS = -fast -msse ### ========================================================================== @@ -75,6 +75,7 @@ help: @echo "make osx-ppc64 > PPC-Mac OS X 64 bit. Compiler = g++" @echo "make osx-x86 > x86-Mac OS X 32 bit. Compiler = g++" @echo "make osx-x86_64 > x86-Mac OS X 64 bit. Compiler = g++" + @echo "make strip > Strip executable" @echo "make clean > Clean up" @echo "" @@ -157,6 +158,9 @@ osx-x86_64: LDFLAGS+='-arch x86_64' \ all +strip: + strip $(EXE) + ### Compilation. Do not change $(EXE): $(OBJS) @@ -165,6 +169,6 @@ $(EXE): $(OBJS) ### Dependencies. Do not change .depend: - $(CXX) -MM $(OBJS:.o=.cpp) > $@ + $(CXX) -msse -MM $(OBJS:.o=.cpp) > $@ include .depend