aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-07 06:31:14 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-07 06:31:14 +0000
commit8fb080d0600d25f3f4937b450f74c0a7a242b3a4 (patch)
treed060fbb42c5efee3622aa4d52ccf51a9bfa3f7dd /Makefile
parent23ac5cee1ab80c71058c6831e7275e08e10029b9 (diff)
doesn't work at all but checkpoint anyway!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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)