From 3e85fcb0270c9224ab95dac02c737e6676974c8e Mon Sep 17 00:00:00 2001 From: axtloss Date: Thu, 11 Jul 2024 02:56:56 +0200 Subject: Implement memset_s and improve free_secure --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a2eaaf..4934e3c 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ TESTCFLAGS!=pkg-config --cflags extlib TESTCFLAGS+=-g -fsanitize=undefined,address TESTLDFLAGS!=pkg-config --libs extlib -extlib: extlib.o extstring.o - $(CC) src/extlib.o src/extstring.o $(CFLAGS) -shared -fPIC -o libextlib.so +extlib: extlib.o extstring.o constraint_handler.o memset_s.o + $(CC) src/extlib.o src/extstring.o src/constraint_handler.o src/memset_s.o $(CFLAGS) -shared -fPIC -o libextlib.so extlib.pc: extlib.pc.in sed 's|@prefix@|$(PREFIX)|g' extlib.pc.in > extlib.pc @@ -23,6 +23,12 @@ extlib.o: extstring.o: $(CC) src/extstring.c $(CFLAGS) -c -fPIC -o src/extstring.o +constraint_handler.o: + $(CC) src/constraint_handler.c $(CFLAGS) -c -fPIC -o src/constraint_handler.o + +memset_s.o: + $(CC) src/memset_s.c $(CFLAGS) -c -fPIC -o src/memset_s.o + clean: rm -r src/extlib.o src/exststring.o libextlib.so extlib.pc test -- cgit v1.2.3