diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-30 20:03:20 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-30 20:03:20 +0200 |
commit | 084ea6ddaf34767e021e47f79b14e8f029fbbfc4 (patch) | |
tree | 4afa45fede58a36ef10064d5bcd0072d907377e8 | |
parent | 7f0a32fdd8c614194b08df2a6ec579d743cc7cda (diff) | |
download | hurrycurry-084ea6ddaf34767e021e47f79b14e8f029fbbfc4.tar hurrycurry-084ea6ddaf34767e021e47f79b14e8f029fbbfc4.tar.bz2 hurrycurry-084ea6ddaf34767e021e47f79b14e8f029fbbfc4.tar.zst |
server make targets for bot and discover
-rw-r--r-- | server/makefile | 14 |
1 files changed, 12 insertions, 2 deletions
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; } |