xref: /xiu/Makefile (revision f97afa13)
106c50324SHarlanCOPY_CONF_FILES = sh ./update_project_conf.sh
206c50324SHarlan
306c50324SHarlannot_spport:
4*f97afa13SHarlan	echo "input make <local|online|build|clean|check>"
506c50324SHarlan# build local source codes
606c50324SHarlanlocal:
706c50324SHarlan	cd ./confs && $(COPY_CONF_FILES) "local"
806c50324SHarlan# pull the online crates codes and build
906c50324SHarlanonline:
1006c50324SHarlan	cd ./confs && $(COPY_CONF_FILES) "online"
1106c50324SHarlancheck:
1206c50324SHarlan	cargo clippy --fix --allow-dirty --allow-no-vcs
1306c50324SHarlanclean:
1406c50324SHarlan	cargo clean
15*f97afa13SHarlanbuild:
16*f97afa13SHarlan	cargo build