We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f967fc commit 6f3167cCopy full SHA for 6f3167c
makefile
@@ -5,18 +5,20 @@ CC = gcc
5
CFLAGS = -O3 -s -Wall
6
LDFLAGS = -lm
7
8
-SRC_DIR = .\src
9
-BIN_DIR = .\bin
10
-
11
-TARGET = $(BIN_DIR)\CeeChess-v1.4
12
+# windows requires backslash
13
ifeq ($(OS),Windows_NT)
14
RM = del /Q
15
EXE_EXTENSION = .exe
+ SRC_DIR = .\src
+ BIN_DIR = .\bin
+ TARGET = $(BIN_DIR)\CeeChess-v1.4-genetic
16
else
17
RM = rm -rf
18
- EXE_EXTENSION = -linux
+ EXE_EXTENSION = -linux
19
CFLAGS += -D LINUX
+ SRC_DIR = ./src
20
+ BIN_DIR = ./bin
21
+ TARGET = $(BIN_DIR)/CeeChess-v1.4-genetic
22
endif
23
24
# Automatically discover all source and header files in the ./src directory
0 commit comments