Skip to content

Commit

Permalink
updated makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdcvlsc committed May 23, 2024
1 parent 2cc1aba commit bb2a4d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mkfile_path = $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
OS := $(shell uname)

CC=g++
CXX=g++
CXX_FLAGS=-std=c++17 -static-libgcc -static-libstdc++ -O3
ifeq ($(OS), Linux)
EXTENSION=
Expand All @@ -25,7 +25,7 @@ ifeq ($(OS), Linux)
else
chmod +x bin/engines/stockfish.exe
endif
${CC} ${CXX_FLAGS} main.cpp -o ${EXECUTABLE}
${CXX} ${CXX_FLAGS} main.cpp -o ${EXECUTABLE}

test:
./${EXECUTABLE} ./pgn_samples/first.pgn W
Expand Down

0 comments on commit bb2a4d8

Please sign in to comment.