From fe3fe5d737e61e6e179b63f0480216c421810fd8 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Thu, 25 Jun 2026 22:26:00 +0200 Subject: build: vendor yyjson 0.12.0 in deps/yyjson --- tools/cli/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools/cli') diff --git a/tools/cli/Makefile b/tools/cli/Makefile index 47f697a..895b6fa 100644 --- a/tools/cli/Makefile +++ b/tools/cli/Makefile @@ -5,11 +5,12 @@ include $(ROOT)/build.mk .DEFAULT_GOAL := all LIBFFWD := $(ROOT)/libffwd +YYJSON := $(ROOT)/deps/yyjson BIN := $(OUTDIR)/ffwd-cli SRCS := main.c -LIBS := $(OUTDIR)/libffwd.a -LDLIBS := $(BACKEND_LDFLAGS) $(YYJSON_LDFLAGS) -lm +LIBS := $(OUTDIR)/libffwd.a $(OUTDIR)/libyyjson.a +LDLIBS := $(BACKEND_LDFLAGS) -lm CFLAGS += -std=gnu11 -pthread CPPFLAGS += -I. -I$(LIBFFWD) @@ -19,4 +20,7 @@ $(OBJDIR)/main.o: CFLAGS += $(VERSION_CFLAGS) $(OUTDIR)/libffwd.a: $(MAKE) -C $(LIBFFWD) +$(OUTDIR)/libyyjson.a: + $(MAKE) -C $(YYJSON) + $(eval $(program)) -- cgit v1.3.1