aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-18 19:52:00 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-18 19:52:00 +0800
commitcbf280f54ced411020e4526aa2be21cd50aff529 (patch)
treea403cc384a92fdb225680be9cac025874133759d /Makefile
parentRevert "Comic Sans" (diff)
downloadforge-cbf280f54ced411020e4526aa2be21cd50aff529.tar.gz
forge-cbf280f54ced411020e4526aa2be21cd50aff529.tar.zst
forge-cbf280f54ced411020e4526aa2be21cd50aff529.zip
git_hooks_client -> hookc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 43e344c..55d5ddd 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,11 @@
CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE
-forge: $(filter-out forge,$(wildcard *)) version.go git_hooks_client/*.c git_hooks_client/git_hooks_client
+forge: $(filter-out forge,$(wildcard *)) version.go hookc/*.c hookc/hookc
go mod vendor
go build .
-git_hooks_client/git_hooks_client:
+hookc/hookc:
version.go:
printf 'package main\nconst VERSION="%s"\n' $(shell git describe --tags --always --dirty) > $@