1
1
mirror of synced 2025-02-07 14:31:26 +01:00
KIT! 164027eb13 Added compilation details in README
Added a clean target in the makefile
2024-11-06 16:54:37 +01:00

24 lines
431 B
Makefile

default: dist
all:
@meson compile -C build
@strip build/bnusio.dll
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