Skip to content

Commit

Permalink
Fix makefile for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jnlt3 committed Dec 22, 2021
1 parent b574faf commit f5f4482
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
EXE = BlackMarlin
ifeq ($(OS),Windows_NT)
NAME := $(EXE).exe
else
NAME := $(EXE)
endif

rule:
cargo rustc --release --features nnue -- -C target-cpu=native --emit link=$(EXE)
cargo rustc --release --features nnue -- -C target-cpu=native --emit link=$(NAME)

0 comments on commit f5f4482

Please sign in to comment.