mirror of
https://github.com/kurikomoe/L4D2Fix.git
synced 2026-10-11 01:48:06 +08:00
24 lines
501 B
Makefile
24 lines
501 B
Makefile
TEMPLATE_VER := "v1.0.0"
|
|
TARGET := "F:/Games/SteamLibrary/steamapps/common/Left 4 Dead 2"
|
|
|
|
# use `just preset=x64-release config build` to override this
|
|
preset := "x86-release-msvc"
|
|
target := "main"
|
|
|
|
[linux]
|
|
init:
|
|
bash ./scripts/init_linux.sh
|
|
|
|
clean:
|
|
rm -rf build
|
|
|
|
config:
|
|
cmake --preset {{preset}}
|
|
|
|
build:
|
|
cmake --build --preset {{preset}} --config Release
|
|
cp -f ./build/x86-release-msvc/bin/Release/kpatch.dll "{{TARGET}}/kpatch.asi"
|
|
|
|
@run:
|
|
./build/{{preset}}/bin/{{target}}
|