Files
bevy_cef/Makefile
elm 0bb9b58fae Enable gpu when debugging (#8)
* add: enable GPU for debugging and update installation instructions

* update: modify Makefile to use variable for binary path in install target

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2025-08-30 18:12:00 +09:00

19 lines
547 B
Makefile

.PHONY: fix install
BIN := bevy_cef_debug_render_process
CEF_LIB := $(HOME)/.local/share/cef/Chromium Embedded Framework.framework/Libraries
.PHONY: fix install
BIN := bevy_cef_debug_render_process
CEF_LIB := $(HOME)/.local/share/cef/Chromium Embedded Framework.framework/Libraries
CARGO_BIN := $(HOME)/.cargo/bin
fix:
cargo clippy --fix --allow-dirty --allow-staged --workspace --all --all-features
cargo fmt --all
install:
cargo install --path ./crates/bevy_cef_debug_render_process --force
mv "$(CARGO_BIN)/$(BIN)" "$(CEF_LIB)/$(BIN)"