From 8fb080d0600d25f3f4937b450f74c0a7a242b3a4 Mon Sep 17 00:00:00 2001 From: dacctal Date: Tue, 7 Jul 2026 06:31:14 +0000 Subject: doesn't work at all but checkpoint anyway! --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 66ccf89..e75ebf2 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ PREFIX ?= /usr/local OBJDIR = obj SRCS = $(wildcard src/*.c) OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o) -CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 +CFLAGS += $(shell pkg-config --cflags luajit) $(shell pkg-config --cflags libgit2) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 # pretty print for compilation. To enable verbose (show commands), run with # `make V=1` @@ -38,7 +38,7 @@ default: pkgit pkgit: $(OBJS) $(E) " LINK " $@ - $(Q) ${CC} -o $@ $^ $(shell pkg-config --libs luajit) $(LDFLAGS) + $(Q) ${CC} -o $@ $^ $(shell pkg-config --libs luajit) $(shell pkg-config --libs libgit2) $(LDFLAGS) $(OBJDIR): @mkdir -p $(OBJDIR) -- cgit v1.2.3