Skip to content

Commit

Permalink
win 64 build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
torgnil committed May 19, 2014
1 parent eaf0d2d commit 65b16c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions makefile
Expand Up @@ -10,14 +10,10 @@ $(EXECUTABLE):
$(CC) $(CFLAGS) $(SOURCES) -o $@ $(LDFLAGS)

win64:
x86_64-w64-mingw32-c++ $(CFLAGS) $(SOURCES) -o $(EXECUTABLE)_w64.exe $(LDFLAGS)


win32:
i686-w64-mingw32-c++ $(CFLAGS) $(SOURCES) -o $(EXECUTABLE)_w32.exe $(LDFLAGS)
x86_64-w64-mingw32-c++ $(CFLAGS) $(SOURCES) -o $(EXECUTABLE)_w64.exe -static -static-libstdc++ -lpthread

clean:
rm -f $(EXECUTABLE)
rm -f $(EXECUTABLE)_w64.exe
rm -f $(EXECUTABLE)_w32.exe


4 changes: 2 additions & 2 deletions uci.cpp
Expand Up @@ -194,7 +194,7 @@ void uci() {
getline(cin, line);
if (line.find("uci") != string::npos) {
cout << "id name gunborg 0.41\n";
cout << "id author torgnil\n";
cout << "id author Torbjorn Nilsson\n";
cout << "uciok\n" << flush;
}
if (line.find("isready") != string::npos) {
Expand Down Expand Up @@ -286,7 +286,7 @@ void uci() {
if (line.find("quit") != string::npos) {
return;
}
if (line.find("perft2") != string::npos) {
if (line.find("perft") != string::npos) {

}
}
Expand Down

0 comments on commit 65b16c8

Please sign in to comment.