matter.c

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

commit 45c7dd1b7a0bc76b71801257538c4586c56e1e08
parent 22d5a9f5844fa1d4ce37f7a8f875a1989a177922
Author: Yersa Nordman <finwo@pm.me>
Date:   Mon, 21 Jun 2021 10:59:04 +0200

Added libmatter.so makerule for future reference

Diffstat:
MMakefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -17,6 +17,9 @@ libmatter.a: $(OBJ) rm -f $@ $(AR) -cvq $@ $(OBJ) +libmatter.so: $(OBJ) + $(CC) -fPIC --shared $(CFLAGS) $(INCLUDES) -o $@ $(SRC) + %.o: %.c $(LLE) -Ofast -S $(CFLAGS) $(INCLUDES) -c $< -o $(@:.o=.ll) $(LLC) -filetype=obj -O3 $(@:.o=.ll)