diff --git a/Makefile b/Makefile index e5572db8c..0b5f47c53 100644 --- a/Makefile +++ b/Makefile @@ -28,4 +28,16 @@ clean: lint: clang-format -i **/*.c **/*.h -.PHONY: debug release docker clean lint +test_base: + cp build/*.exe test/ + cp build/*.dll test/ + ln -rsft test/ bin/* + rm -f test/Winplay.dll + +test: build test_base + WINEARCH=win32 MESA_GL_VERSION_OVERRIDE=3.3 wine test/Tomb1Main.exe + +test_gold: build test_base + WINEARCH=win32 MESA_GL_VERSION_OVERRIDE=3.3 wine test/Tomb1Main.exe -gold + +.PHONY: debug release docker clean lint test_base test test_gold