Files
theseus/Makefile

21 lines
459 B
Makefile

SRCS_RUST_THESEUS_SERVER := $(shell find theseus-server -type f)
.PHONY: build
build: \
dst/release/theseus-server
include config/make.mk
include client/make.mk
.PHONY: run
run: dst/dev.toml $(TARGETS_CLIENT)
cargo run --package theseus-server -- dst/dev.toml
.PHONY: clean
clean: client_clean
rm -rf dst
dst/release/theseus-server: $(SRCS_RUST_THESEUS_SERVER) $(TARGETS_CLIENT) dst/prod.toml
cargo build --package theseus-server --release
touch $@