Skip to content

Commit e634a5d

Browse files
committed
Merge branch 'main' of github.com:winapiadmin/cppchess_engine
2 parents e68a692 + 4ed3794 commit e634a5d

File tree

14 files changed

+2463
-1
lines changed

14 files changed

+2463
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@ set(SOURCES
1818
eval.cpp
1919
search.cpp
2020
tt.cpp
21+
<<<<<<< HEAD
2122
movepick.cpp
2223
uci.cpp
2324
ucioptions.cpp
2425
timeman.cpp
26+
=======
27+
move_ordering.cpp
28+
uci.cpp
29+
ucioptions.cpp
30+
>>>>>>> 4ed379430df230b7a41541796fa6143eee9ba291
2531
)
2632

2733
# Define the executable
@@ -60,6 +66,7 @@ endif()
6066
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9")
6167
target_link_libraries(${PROJECT_NAME} atomic)
6268
endif()
69+
<<<<<<< HEAD
6370

6471
# Set default build type if none is specified
6572
if(NOT CMAKE_BUILD_TYPE)
@@ -74,3 +81,5 @@ else()
7481
set(CMAKE_CXX_FLAGS_DEBUG "/Zi /Od")
7582
set(CMAKE_CXX_FLAGS_RELEASE "/O2 /DNDEBUG")
7683
endif()
84+
=======
85+
>>>>>>> 4ed379430df230b7a41541796fa6143eee9ba291

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
CXX = g++
33

44
# Source files and object files
5+
<<<<<<< HEAD
56
SRC = main.cpp eval.cpp search.cpp tt.cpp movepick.cpp timeman.cpp uci.cpp ucioptions.cpp
7+
=======
8+
SRC = main.cpp eval.cpp search.cpp tt.cpp move_ordering.cpp uci.cpp ucioptions.cpp
9+
>>>>>>> 4ed379430df230b7a41541796fa6143eee9ba291
610
OBJ = $(SRC:.cpp=.o)
711

812
# Output file
@@ -13,7 +17,7 @@ all: $(EXEC)
1317

1418
# Linking the object files into the executable
1519
$(EXEC): $(OBJ)
16-
$(CXX) $(LDFLAGS) -o $(EXEC) $(OBJ)
20+
$(CXX) $(LDFLAGS) -pthread -o $(EXEC) $(OBJ)
1721

1822
# Rule to build object files from source files
1923
%.o: %.cpp

0 commit comments

Comments
 (0)