aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-03-22 09:54:27 +0000
committerMichael Williamson <mike@zwobble.org>2026-03-22 10:16:02 +0000
commit47442811098a6ed4d8a6ae80f06c13f47451a4d9 (patch)
tree4e7549a4816ed082719da49d7ebab10cb91f9b22 /makefile
parent6e2425bfc5ad9bfac68289a9dcc2cccee1441fd9 (diff)
Add flatbuffers schema
Diffstat (limited to 'makefile')
-rw-r--r--makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/makefile b/makefile
index baf580fe..d3d97029 100644
--- a/makefile
+++ b/makefile
@@ -23,9 +23,20 @@ runtime: native-headers build-runtime
build-runtime:
python3 runtime/build.py standard
-.PHONY: protobuf
+.PHONY: src/gen/java
-protobuf:
+src/gen/java:
rm -rf src/gen/java
mkdir -p src/gen/java
+ make flatbuffers
+ make protobuf
+
+.PHONY: protobuf
+
+protobuf:
protoc -I protobuf --java_out src/gen/java protobuf/*.proto
+
+.PHONY: flatbuffers
+
+flatbuffers:
+ python3 generate-flatbuffers.py