X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=a0f098fa67800061eb4084f2be86c380f35adea9;hb=af110e02ec96cdb46cf84c68252a1da15a902395;hp=abcf11b0a1158ae73d26ff36af64ce7c5c63272c;hpb=bc50378ff1915a8ad6ac3e4946193c65e4cacb56;p=stockfish diff --git a/src/Makefile b/src/Makefile index abcf11b0..a0f098fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -56,8 +56,8 @@ else endif ### Source and object files -SRCS = benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp main.cpp \ - material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp \ +SRCS = benchmark.cpp bitboard.cpp evaluate.cpp main.cpp \ + misc.cpp movegen.cpp movepick.cpp position.cpp psqt.cpp \ search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp tune.cpp syzygy/tbprobe.cpp \ nnue/evaluate_nnue.cpp nnue/features/half_ka_v2_hm.cpp @@ -702,7 +702,7 @@ ifeq ($(pext),yes) endif ### 3.7.1 Try to include git commit sha for versioning -GIT_SHA = $(shell git rev-parse --short HEAD 2>/dev/null) +GIT_SHA = $(shell git rev-parse HEAD 2>/dev/null | cut -c 1-8) ifneq ($(GIT_SHA), ) CXXFLAGS += -DGIT_SHA=$(GIT_SHA) endif