From 084ea6ddaf34767e021e47f79b14e8f029fbbfc4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 30 Sep 2024 20:03:20 +0200 Subject: server make targets for bot and discover --- server/makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'server/makefile') diff --git a/server/makefile b/server/makefile index c959b948..8c8303ac 100644 --- a/server/makefile +++ b/server/makefile @@ -16,13 +16,23 @@ SERVER = ../target/release/hurrycurry-server REPLAYTOOL = ../target/release/hurrycurry-replaytool +DISCOVER = ../target/release/hurrycurry-discover +BOT = ../target/release/hurrycurry-bot -.PHONY: all -all: $(SERVER) $(REPLAYTOOL) +.PHONY: all clean server replaytool discover bot +all: server replaytool discover bot +server: $(SERVER) +replaytool: $(REPLAYTOOL) +discover: $(DISCOVER) +bot: $(BOT) clean: $(SERVER): $(shell find protocol src -type f) cargo $(CARGOFLAGS) build --release $(REPLAYTOOL): $(shell find protocol replaytool -type f) { cd replaytool; cargo $(CARGOFLAGS) build --release; } +$(BOT): $(shell find protocol bot client-lib -type f) + { cd bot; cargo $(CARGOFLAGS) build --release; } +$(DISCOVER): $(shell find protocol discover -type f) + { cd discover; cargo $(CARGOFLAGS) build --release; } -- cgit v1.2.3-70-g09d2