mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
20 lines
400 B
Makefile
20 lines
400 B
Makefile
VERSION=$(shell cat ../../VERSION)
|
|
|
|
deps: Cargo.toml sqlite-vec.c sqlite-vec.h sqlite3ext.h sqlite3.h
|
|
|
|
Cargo.toml: ../../VERSION Cargo.toml.tmpl
|
|
VERSION=$(VERSION) envsubst < Cargo.toml.tmpl > $@
|
|
|
|
sqlite-vec.c: ../../sqlite-vec.c
|
|
cp $< $@
|
|
|
|
sqlite-vec.h: ../../sqlite-vec.h
|
|
cp $< $@
|
|
|
|
sqlite3ext.h: ../../vendor/sqlite3ext.h
|
|
cp $< $@
|
|
|
|
sqlite3.h: ../../vendor/sqlite3.h
|
|
cp $< $@
|
|
|
|
.PHONY: deps
|