mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
fix static
This commit is contained in:
parent
b32d80fbaa
commit
6405aee37e
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -82,10 +82,10 @@ $(TARGET_LOADABLE): sqlite-vec.c sqlite-vec.h $(prefix)
|
||||||
$(CFLAGS) \
|
$(CFLAGS) \
|
||||||
$< -o $@
|
$< -o $@
|
||||||
|
|
||||||
$(TARGET_STATIC): sqlite-vec.c sqlite-vec.h $(prefix)
|
$(TARGET_STATIC): sqlite-vec.c sqlite-vec.h $(prefix) $(OBJS_DIR)
|
||||||
$(CC) -Ivendor/ -Ivendor/vec $(CFLAGS) -DSQLITE_CORE \
|
$(CC) -Ivendor/ -Ivendor/vec $(CFLAGS) -DSQLITE_CORE \
|
||||||
-O3 -c $< -o $(prefix)/.objs/vec.o
|
-O3 -c $< -o $(OBJS_DIR)/vec.o
|
||||||
$(AR) rcs $@ $(prefix)/.objs/vec.o
|
$(AR) rcs $@ $(OBJS_DIR)/vec.o
|
||||||
|
|
||||||
$(TARGET_STATIC_H): sqlite-vec.h $(prefix)
|
$(TARGET_STATIC_H): sqlite-vec.h $(prefix)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue