aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-07-11 02:56:56 +0200
committeraxtloss <axtlos@getcryst.al>2024-07-11 02:56:56 +0200
commit3e85fcb0270c9224ab95dac02c737e6676974c8e (patch)
tree2ec96323ef26f9ec1fee8ac6a0b718700e909eda /Makefile
parente8f6d6c71b45062cc7ec4dcadcecba44af39a15d (diff)
downloadextlib-3e85fcb0270c9224ab95dac02c737e6676974c8e.tar.gz
extlib-3e85fcb0270c9224ab95dac02c737e6676974c8e.tar.bz2
Implement memset_s and improve free_secure
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
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