2025-01-21 03:10:55 +00:00
|
|
|
all: src/main.cpp src/options.cpp submodules preinstall
|
2025-01-21 01:20:25 +00:00
|
|
|
cc -Wall -O src/main.cpp src/options.cpp -o bin/rvz-convert -lstdc++
|
|
|
|
|
|
|
|
submodules:
|
2025-01-21 03:10:55 +00:00
|
|
|
git submodule update --init --recursive --depth=1
|
|
|
|
cmake -S lib/dolphin -B lib/dolphin/cmake-build
|
|
|
|
make -C lib/dolphin/cmake-build dolphin-tool
|
|
|
|
make -C lib/wiimms-iso-tools/project
|
|
|
|
|
|
|
|
submodules-windows:
|
|
|
|
git submodule update --init --recursive --depth=1
|
|
|
|
mingw64-cmake -S lib/dolphin -B lib/dolphin/cmake-build-windows
|
|
|
|
mingw64-make -C lib/dolphin/cmake-build-windows dolphin-tool
|
|
|
|
mingw64-make -C lib/wiimms-iso-tools/project
|
|
|
|
|
|
|
|
preinstall:
|
|
|
|
cp lib/wiimms-iso-tools/project/bin/wit bin/
|
|
|
|
cp lib/dolphin/cmake-build/Binaries/dolphin-tool bin/
|
|
|
|
|
|
|
|
windows: submodules-windows
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf lib/dolphin/cmake-build/*
|
|
|
|
rm -rf lib/dolphin/cmake-build-windows/*
|
|
|
|
rm bin/*
|