From 7fe23e4a8fa6fce19fb3d5e3a8a1f5472496c928 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sat, 7 Nov 2026 10:26:34 +0300 Subject: publish --- makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..830d209 --- /dev/null +++ b/makefile @@ -0,0 +1,54 @@ +all: \ +raid-50-xor-8b-6d \ +raid-50-xor-8b-6d.exe \ +raid-50-xor-12b-6d \ +raid-50-xor-12b-6d.exe \ +raid-50-poly-8b-6d \ +raid-50-poly-8b-6d.exe \ +raid-50-poly-12b-6d \ +raid-50-poly-12b-6d.exe \ +raid-4-xor-12b-7d \ +raid-4-xor-12b-7d.exe \ +raid-4-xor-12b-4d \ +raid-4-xor-12b-4d.exe \ +raid-4-xor-12b-5d \ +raid-4-xor-12b-5d.exe \ +raid-4-xor-14b-4d \ +raid-4-xor-14b-4d.exe \ +raid-4-xor-14b-5d \ +raid-4-xor-14b-5d.exe \ +raid-4-xor-14b-8d \ +raid-4-xor-14b-8d.exe \ +raid-4-xor-10b-3d \ +raid-4-xor-10b-3d.exe \ +raid-4-xor-10b-6d \ +raid-4-xor-10b-6d.exe \ +raid-4-xor-10b-7d \ +raid-4-xor-10b-7d.exe \ +raid-4-xor-8b-8d \ +raid-4-xor-8b-8d.exe \ +raid-4-poly-10b-7d \ +raid-4-poly-10b-7d.exe \ +raid-4-poly-8b-7d \ +raid-4-poly-8b-7d.exe \ +raid-4-poly-8b-6d \ +raid-4-poly-8b-6d.exe \ +raid-5-xor-12b-3d \ +raid-5-xor-12b-3d.exe \ +raid-5-xor-12b-5d \ +raid-5-xor-12b-5d.exe \ +raid-5-xor-12b-6d \ +raid-5-xor-12b-6d.exe \ +raid-5-poly-14b-4d \ +raid-5-poly-14b-4d.exe + +%: src/%.c + gcc -std=gnu99 -ggdb3 -D_GNU_SOURCE -o $@ $< + +%.exe: src/%.c + gcc-cross-x86_64-w64-mingw32-toolchain -- x86_64-w64-mingw32-gcc \ + -std=gnu99 -ggdb3 -D_GNU_SOURCE \ + -L gcc-cross-x86_64-w64-mingw32-toolchain-13.3.0/lib/ \ + -I gcc-cross-x86_64-w64-mingw32-toolchain-13.3.0/include/ \ + -B gcc-cross-x86_64-w64-mingw32-toolchain-13.3.0/lib/ \ + -o $@ $< -- cgit v1.3.1