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