mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
15 lines
279 B
Makefile
15 lines
279 B
Makefile
|
|
VERSION=$(shell cat ../../VERSION)
|
||
|
|
|
||
|
|
deps: Cargo.toml sqlite-vec.c sqlite-vec.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 $< $@
|
||
|
|
|
||
|
|
.PHONY: deps
|