Skip to content

Commit 3e18057

Browse files
author
Stephen Hall
committed
Makefile
Small fix for my os x build. Fixed includes in Piece.h as well.
1 parent 40ca654 commit 3e18057

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ DEBUG_LIBS_Linux = -lsfml-system-d -lsfml-window-d -lsfml-graphics-d
66
RELEASE_LIBS_Linux = -lsfml-system -lsfml-window -lsfml-graphics
77

88
COMPILER_Darwin = clang++
9-
CXX_FLAGS_Darwin = -Wall -std=c++11 -stdlib-libc++
10-
DEBUG_LIBS_Darwin = -framework SFML -framework sfml-system -framework -sfml-window -framework -sfml-graphics
9+
CXX_FLAGS_Darwin = -Wall -std=c++11 -stdlib=libc++
10+
DEBUG_LIBS_Darwin = -framework SFML -framework sfml-system -framework sfml-window -framework sfml-graphics
1111
RELEASE_LIBS_Darwin = $(DEBUG_LIBS)
1212

1313
COMPILER = $(COMPILER_$(UNAME))

src/board/Piece.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
// textureX = givenValX
1010
// textureY = givenValY + ( this->color == WHITE ? 0 : 80 )
1111

12-
#include "board\logger.h"
12+
#include "logger.h"
1313

1414
// The contigousness of this container does not matter
1515
// It could be sorted for std::lower_bound? I don't think time is an issue
1616
#include <vector>
17-
#include "board\Position.h"
17+
#include "Position.h"
1818

1919
namespace chesspp
2020
{
@@ -92,7 +92,7 @@ namespace chesspp
9292
}
9393

9494
// This is handy, thanks.
95-
#include "board\Board.h"
95+
#include "Board.h"
9696

9797
#endif
9898

0 commit comments

Comments
 (0)