From f54963e1364568d8f4f6e1a5be1646d4c5e7a94e Mon Sep 17 00:00:00 2001 From: stderr64 Date: Thu, 24 Sep 2026 20:49:27 +0300 Subject: First commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4ffc5a4 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC=gcc +OUTPUT_MULTIPLIER=0x6ab64cc1 + +rel: + mkdir -p ./build + $(CC) -Wall -Werror -pedantic -O2 -march=x86-64-v3 -mavx2 -std=gnu23 -DOUTPUT_MULTIPLIER=${OUTPUT_MULTIPLIER} -shared -fPIC ./xorshift.c -o ./build/libxorshift.so + +debug: + mkdir -p ./build + $(CC) -Wall -Werror -pedantic -O2 -march=x86-64-v3 -mavx2 -std=gnu23 -ggdb -DOUTPUT_MULTIPLIER=${OUTPUT_MULTIPLIER} -shared -fPIC ./xorshift.c -o ./build/libxorshift.so + +clean: + rm -rf ./build -- cgit v1.3.1-10-gc9f91