From 0f0844c144c5f51e2a6301e776fbcd167667dd0e Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Thu, 14 Apr 2022 21:17:29 +1000 Subject: [PATCH] Makefile: avoid redundant script executions in d0_blind_id --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0b8b7521..c1d7a6dd 100644 --- a/Makefile +++ b/Makefile @@ -75,18 +75,20 @@ update-stable: nogit update-beta: nogit misc/tools/rsync-updater/update-to-autobuild.sh -.PHONY: crypto -crypto: nogit +$(D0SRC)/Makefile: ( cd $(D0SRC) && ./autogen.sh && ./configure --enable-static --disable-shared ) + +.PHONY: d0_blind_id +d0_blind_id: nogit $(D0SRC)/Makefile $(MAKE) -C $(D0SRC) .PHONY: server -server: crypto +server: d0_blind_id $(MAKE) -C $(DPSRC) sv-release cp -v $(DPSRC)/darkplaces-dedicated $(SERVER) .PHONY: client -client: crypto +client: d0_blind_id $(MAKE) -C $(DPSRC) sdl-release cp -v $(DPSRC)/darkplaces-sdl $(CLIENT) -- 2.39.2