From c82c4688e77d66773721e023c58f562a7e93716e Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Thu, 12 Sep 2024 15:53:58 +0300 Subject: [PATCH] Add compile-all.bat. --- tests/compile-all.bat | 5 +++++ tests/compile.bat | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/compile-all.bat diff --git a/tests/compile-all.bat b/tests/compile-all.bat new file mode 100644 index 0000000..a4d85a6 --- /dev/null +++ b/tests/compile-all.bat @@ -0,0 +1,5 @@ +@echo off + +pushd PowerAnalyse +for %%f in (*.cpp) do call ..\compile.bat %%f +popd \ No newline at end of file diff --git a/tests/compile.bat b/tests/compile.bat index e5e1289..545d1c9 100644 --- a/tests/compile.bat +++ b/tests/compile.bat @@ -1,3 +1,3 @@ @echo off -clang -target powerpc-unknown-linux-gnu -fuse-ld=lld -nostdlib -m32 -o %1.elf %1 \ No newline at end of file +clang -target powerpc-unknown-linux-gnu -fuse-ld=lld -nostdlib -m32 -o %~n1.elf %1 \ No newline at end of file