sqlite-vec/bindings/rust/Makefile

21 lines
400 B
Makefile
Raw Normal View History

2024-05-10 21:13:18 -07:00
VERSION=$(shell cat ../../VERSION)
deps: Cargo.toml sqlite-vec.c sqlite-vec.h sqlite3ext.h sqlite3.h
2024-05-10 21:13:18 -07:00
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
2024-07-12 09:55:44 -07:00
cp $< $@
2024-07-12 09:55:44 -07:00
sqlite3.h: ../../vendor/sqlite3.h
cp $< $@
2024-05-10 21:13:18 -07:00
.PHONY: deps