aboutsummaryrefslogtreecommitdiff
path: root/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build.mk')
-rw-r--r--build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.mk b/build.mk
index bda0e8c..109f2fb 100644
--- a/build.mk
+++ b/build.mk
@@ -154,6 +154,9 @@ else
CFLAGS = $(OPT)
endif
CPPFLAGS ?=
+# Vendored yyjson (deps/yyjson) is the one JSON parser/writer for the whole
+# tree; every component includes its header from here.
+CPPFLAGS += -I$(ROOT)/deps/yyjson
LDLIBS ?=
SHARED_LDLIBS ?=