2024-11-07 13:18:33 +01:00
|
|
|
default: dist-no-7z
|
2024-11-06 16:54:37 +01:00
|
|
|
|
2024-03-23 12:08:42 +01:00
|
|
|
all:
|
|
|
|
@meson compile -C build
|
|
|
|
@strip build/bnusio.dll
|
|
|
|
|
|
|
|
setup:
|
2024-11-06 16:54:37 +01:00
|
|
|
@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 {} +
|
2024-03-23 12:08:42 +01:00
|
|
|
|
|
|
|
dist-no-7z: all
|
|
|
|
@mkdir -p out/
|
|
|
|
@cp build/bnusio.dll out/
|
|
|
|
@cp -r dist/* out/
|
|
|
|
|
|
|
|
dist: dist-no-7z
|
2024-09-09 14:54:47 +02:00
|
|
|
@cd out && 7z a -t7z ../dist.7z .
|
2024-03-23 12:08:42 +01:00
|
|
|
@rm -rf out
|