25 lines
712 B
Makefile
Raw Normal View History

2026-02-03 18:12:53 +01:00
default: build
configure:
cmake -S . -B build -G Ninja \
${LOGOS_CORE_ROOT:+-DLOGOS_CORE_ROOT="$LOGOS_CORE_ROOT"} \
${LOGOS_EXECUTION_ZONE_WALLET_LIB:+-DLOGOS_EXECUTION_ZONE_WALLET_LIB="$LOGOS_EXECUTION_ZONE_WALLET_LIB"} \
${LOGOS_EXECUTION_ZONE_WALLET_INCLUDE:+-DLOGOS_EXECUTION_ZONE_WALLET_INCLUDE="$LOGOS_EXECUTION_ZONE_WALLET_INCLUDE"}
build: configure
cmake --build build --parallel --target logos_execution_zone_wallet_module
2026-02-03 18:12:53 +01:00
clean:
2026-02-16 16:57:21 +01:00
rm -rf build result
2026-02-03 18:12:53 +01:00
2026-02-16 16:57:21 +01:00
rebuild: clean build
2026-02-03 18:12:53 +01:00
nix:
nix develop
prettify:
nix shell nixpkgs#clang-tools -c clang-format -i src/**.cpp src/**.h
2026-02-03 18:12:53 +01:00
unicode-logs file:
perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex($1))/ge' {{file}} | less -R