aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-03 10:46:27 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-03 10:46:27 +0800
commit94b20e3128eaac566abfd7c0c773bb4c076c453e (patch)
tree5f399609fc0ca64f0fc28be1c6f8cb2ead84d71d /Makefile
parentgit2d: Import BARE and UTF-8 utilities (diff)
downloadforge-94b20e3128eaac566abfd7c0c773bb4c076c453e.tar.gz
forge-94b20e3128eaac566abfd7c0c773bb4c076c453e.tar.zst
forge-94b20e3128eaac566abfd7c0c773bb4c076c453e.zip
git2d: Use extern inline for utf8_decode
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dd43574..6dd0781 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ utils/colb:
hookc/hookc:
-git2d/git2d: git2d/main.o git2d/bare.o
- $(CC) $(CFLAGS) `pkg-config --cflags --libs libgit2` -lpthread -o git2d/git2d $<
+git2d/git2d: git2d/main.o git2d/bare.o git2d/utf8.c
+ $(CC) $(CFLAGS) `pkg-config --cflags --libs libgit2` -lpthread -o git2d/git2d $^
version.go:
printf 'package main\n\nconst VERSION = "%s"\n' `git describe --tags --always --dirty` > $@