From 4aaca6a998a0d4aaf55410051962f663c184fed2 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 30 Nov 2024 22:05:06 +0100 Subject: [PATCH] Moved sources --- Makefile | 4 +++- isspam.c => retoor_c/isspam.c | 0 rmalloc.h => retoor_c/rmalloc.h | 0 rstr.h => retoor_c/rstr.h | 0 rstring_list.h => retoor_c/rstring_list.h | 0 totals.py => retoor_c/totals.py | 0 6 files changed, 3 insertions(+), 1 deletion(-) rename isspam.c => retoor_c/isspam.c (100%) rename rmalloc.h => retoor_c/rmalloc.h (100%) rename rstr.h => retoor_c/rstr.h (100%) rename rstring_list.h => retoor_c/rstring_list.h (100%) rename totals.py => retoor_c/totals.py (100%) diff --git a/Makefile b/Makefile index 5c702c7..e21211a 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,14 @@ CFLAGS = -Wall -Werror -Wextra -Ofast -std=c2x all: build run valgrind build_risspam run_risspam build: + @echo "Compiling retoor_c project.". @# removed -pedantic flag because it doesn't accept ' for formatting numbers @# using printf - @$(CC) $(CFLAGS) isspam.c -o isspam + @$(CC) $(CFLAGS) retoor_c/isspam.c -o isspam build_risspam: + @echo "Compiling 12bitfloat_rust project." cd 12bitfloat_rust/risspam && cargo run --release && cp target/release/risspam ../../ diff --git a/isspam.c b/retoor_c/isspam.c similarity index 100% rename from isspam.c rename to retoor_c/isspam.c diff --git a/rmalloc.h b/retoor_c/rmalloc.h similarity index 100% rename from rmalloc.h rename to retoor_c/rmalloc.h diff --git a/rstr.h b/retoor_c/rstr.h similarity index 100% rename from rstr.h rename to retoor_c/rstr.h diff --git a/rstring_list.h b/retoor_c/rstring_list.h similarity index 100% rename from rstring_list.h rename to retoor_c/rstring_list.h diff --git a/totals.py b/retoor_c/totals.py similarity index 100% rename from totals.py rename to retoor_c/totals.py