1
1
mirror of synced 2025-02-07 06:31:17 +01:00
ptmaster 3933ecab00 Add multiple new feature & update config/readme
累积更新
文档与配置更新
去掉多余的配置项读取
2024-11-24 17:44:03 +01:00

27 lines
498 B
Makefile

default: dist-no-7z
all:
@meson compile -C build
@strip build/bnusio.dll
setup:
@meson setup build --cross cross-mingw-64.txt
clean-setup:
@meson setup --wipe build --cross cross-mingw-64.txt
clean:
@rm -rf out
@rm -rf build
@rm -f dist.7z
@cd subprojects && find . -maxdepth 1 ! -name packagefiles -type d -not -path '.' -exec rm -rf {} +
dist-no-7z: all
@mkdir -p out/
@cp build/bnusio.dll out/
@cp -r dist/* out/
dist: dist-no-7z
@cd out && 7z a -t7z ../dist.7z .
@rm -rf out