.PHONY: clean clean_all

PROJ_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

EXTENSION_NAME=okf
USE_UNSTABLE_C_API=1
TARGET_DUCKDB_VERSION=v1.5.4
DUCKDB_TEST_VERSION=1.5.4

all: configure debug

include extension-ci-tools/makefiles/c_api_extensions/base.Makefile
include extension-ci-tools/makefiles/c_api_extensions/rust.Makefile

configure: venv platform extension_version

debug: build_extension_library_debug build_extension_with_metadata_debug
release: build_extension_library_release build_extension_with_metadata_release

clean: clean_build clean_rust
clean_all: clean_configure clean
