umpirix/engine/cpp/Makefile
caelum0x 4847e35451 OpenJev: open-source typed decision service
Typed decision/classification service with an in-process gte-small ONNX
embedding engine and lexical fallback, JS/Python SDKs, adapters, and the
otsone model family. Apache-2.0 (sub-packages keep their MIT licenses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 00:12:36 +03:00

16 lines
380 B
Makefile

CXX ?= g++
CXXFLAGS ?= -O3 -fPIC -std=c++17 -Wall -pthread
libopenjev.so: openjev.cpp openjev.hpp
$(CXX) $(CXXFLAGS) -shared -o libopenjev.so openjev.cpp
gold_test: libopenjev.so gold_test.cpp
$(CXX) $(CXXFLAGS) -o gold_test gold_test.cpp -L. -lopenjev -Wl,-rpath,'$$ORIGIN'
.PHONY: clean test
clean:
rm -f libopenjev.so gold_test
test: gold_test
./gold_test ../gold.json