matter.c

Cross-platform minimalist libc
git clone git://git.finwo.net/lib/matter.c
Log | Files | Refs | README | LICENSE

commit 034c23833588c5d0aeadb5e526254338ebbf699a
parent a99c50f581c142fa9d281f793dbab6d04bdb3fba
Author: Yersa Nordman <finwo@pm.me>
Date:   Sun, 17 May 2020 05:11:30 +0200

Start separation of generic and arch-specific code

Diffstat:
MMakefile | 2+-
Asrc/arch/wasm/malloc | 2++
Asrc/arch/wasm/string | 2++
Asrc/arch/wasm32 | 2++
Asrc/arch/wasm64 | 2++
Rsrc/wasm/malloc/malloc.c -> src/malloc/malloc.c | 0
Rsrc/wasm/string/memcmp.c -> src/string/memcmp.c | 0
Rsrc/wasm/string/memcpy.c -> src/string/memcpy.c | 0
Rsrc/wasm/string/memset.c -> src/string/memset.c | 0
Dsrc/wasm32 | 2--
Dsrc/wasm64 | 2--
11 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ TARGET ?= wasm32 -SRC=$(shell find -L src/$(TARGET) -type f -name *.c) +SRC=$(shell find -L src/arch/$(TARGET) -type f -name *.c) OBJ=$(SRC:.c=.o) libmatter.a: $(OBJ) diff --git a/src/arch/wasm/malloc b/src/arch/wasm/malloc @@ -0,0 +1 @@ +../../malloc +\ No newline at end of file diff --git a/src/arch/wasm/string b/src/arch/wasm/string @@ -0,0 +1 @@ +../../string +\ No newline at end of file diff --git a/src/arch/wasm32 b/src/arch/wasm32 @@ -0,0 +1 @@ +wasm +\ No newline at end of file diff --git a/src/arch/wasm64 b/src/arch/wasm64 @@ -0,0 +1 @@ +wasm +\ No newline at end of file diff --git a/src/wasm/malloc/malloc.c b/src/malloc/malloc.c diff --git a/src/wasm/string/memcmp.c b/src/string/memcmp.c diff --git a/src/wasm/string/memcpy.c b/src/string/memcpy.c diff --git a/src/wasm/string/memset.c b/src/string/memset.c diff --git a/src/wasm32 b/src/wasm32 @@ -1 +0,0 @@ -wasm -\ No newline at end of file diff --git a/src/wasm64 b/src/wasm64 @@ -1 +0,0 @@ -wasm -\ No newline at end of file