From cd849bbd1faf87396de7560e3aaab8ac508fccc8 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Thu, 8 Sep 2022 18:01:32 -0400 Subject: [PATCH] Move zealbooter libs to subdirectory. --- zealbooter/GNUmakefile | 3 ++- zealbooter/{ => lib}/memcpy.c | 0 zealbooter/{ => lib}/memcpy.h | 0 zealbooter/{ => lib}/print.c | 0 zealbooter/{ => lib}/print.h | 0 zealbooter/{ => lib}/stb_sprintf.h | 0 6 files changed, 2 insertions(+), 1 deletion(-) rename zealbooter/{ => lib}/memcpy.c (100%) rename zealbooter/{ => lib}/memcpy.h (100%) rename zealbooter/{ => lib}/print.c (100%) rename zealbooter/{ => lib}/print.h (100%) rename zealbooter/{ => lib}/stb_sprintf.h (100%) diff --git a/zealbooter/GNUmakefile b/zealbooter/GNUmakefile index 073a4881..2ae7a8ef 100644 --- a/zealbooter/GNUmakefile +++ b/zealbooter/GNUmakefile @@ -51,7 +51,8 @@ override CFLAGS += \ -mno-red-zone \ -mcmodel=kernel \ -MMD \ - -I. + -I. \ + -I./lib # Internal linker flags that should not be changed by the user. override LDFLAGS += \ diff --git a/zealbooter/memcpy.c b/zealbooter/lib/memcpy.c similarity index 100% rename from zealbooter/memcpy.c rename to zealbooter/lib/memcpy.c diff --git a/zealbooter/memcpy.h b/zealbooter/lib/memcpy.h similarity index 100% rename from zealbooter/memcpy.h rename to zealbooter/lib/memcpy.h diff --git a/zealbooter/print.c b/zealbooter/lib/print.c similarity index 100% rename from zealbooter/print.c rename to zealbooter/lib/print.c diff --git a/zealbooter/print.h b/zealbooter/lib/print.h similarity index 100% rename from zealbooter/print.h rename to zealbooter/lib/print.h diff --git a/zealbooter/stb_sprintf.h b/zealbooter/lib/stb_sprintf.h similarity index 100% rename from zealbooter/stb_sprintf.h rename to zealbooter/lib/stb_sprintf.h