commit ef599917145cb0b94124b7c57e2ad39d6961074f
parent bbf04f50bb7f7fc3d0caabc394f2f79773f64392
Author: William Casarin <jb55@jb55.com>
Date: Fri, 22 Dec 2023 17:10:54 -0800
add libnostrdb.a
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -9,6 +9,7 @@ test
*.dSYM
*.zst
*.o
+libnostrdb.a
testdata/many-events.json
testdata/db/ndb-v0.tar
testdata/db/v0
diff --git a/Makefile b/Makefile
@@ -20,7 +20,10 @@ BIN=ndb
CHECKDATA=testdata/db/v0/data.mdb
-all: lib ndb
+all: lib ndb libnostrdb.a
+
+libnostrdb.a: $(OBJS)
+ ar rcs $@ $(OBJS)
lib: benches test