aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_client/Makefile
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-17 01:51:27 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-17 01:51:27 +0800
commit36c43d168d564fe311974efa6f6ac322afcf71d6 (patch)
tree8f2811c6d4439c8bfe1908dd0ef022e66ed9f116 /git_hooks_client/Makefile
parentresources.go: Embed git_hooks_client/* (diff)
downloadforge-36c43d168d564fe311974efa6f6ac322afcf71d6.tar.gz
forge-36c43d168d564fe311974efa6f6ac322afcf71d6.tar.zst
forge-36c43d168d564fe311974efa6f6ac322afcf71d6.zip
git_hooks_client: Splice stdin
Requires stdin to be a pipe. So `cat | ./git_hooks_client` works while `./git_hooks_client` in a terminal directly does not (character devices are not pipes).
Diffstat (limited to 'git_hooks_client/Makefile')
-rw-r--r--git_hooks_client/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/git_hooks_client/Makefile b/git_hooks_client/Makefile
index 0dd283e..f8f2c50 100644
--- a/git_hooks_client/Makefile
+++ b/git_hooks_client/Makefile
@@ -1 +1,3 @@
+CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE
+
git_hooks_client: