shithub: moonfish

Download patch

ref: 774c03e50120953b7df0247bbaab4326c9559c36
parent: dbcf89948d85852a1e75e7934296eb330df03bbe
author: zamfofex <zamfofex@twdb.moe>
date: Sat Dec 23 22:45:52 EST 2023

fix makefile slightly

--- a/makefile
+++ b/makefile
@@ -9,7 +9,7 @@
 
 src := chess.c search.c main.c
 
-moonfish_cc := $(cc) -pthread -D_POSIX_C_SOURCE=199309L
+moonfish_cc := $(cc) -pthread
 tools_cc := $(cc) -pthread -D_POSIX_C_SOURCE=200809L
 
 .PHONY: all clean install
@@ -33,7 +33,7 @@
 	$(RM) moonfish.c moonfish.c.xz moonfish.sh
 
 install: all
-	install -m 755 moonfish $BINDIR/moonfish
-	install -m 755 play $BINDIR/moonfish-play
-	install -m 755 lichess $BINDIR/moonfish-lichess
-	install -m 755 analyse $BINDIR/moonfish-analyse
+	install -m 755 moonfish $(BINDIR)/moonfish
+	install -m 755 play $(BINDIR)/moonfish-play
+	install -m 755 lichess $(BINDIR)/moonfish-lichess
+	install -m 755 analyse $(BINDIR)/moonfish-analyse
--