diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-07 06:31:14 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-07 06:31:14 +0000 |
| commit | 8fb080d0600d25f3f4937b450f74c0a7a242b3a4 (patch) | |
| tree | d060fbb42c5efee3622aa4d52ccf51a9bfa3f7dd /Makefile | |
| parent | 23ac5cee1ab80c71058c6831e7275e08e10029b9 (diff) | |
doesn't work at all but checkpoint anyway!
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
