diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-17 14:16:38 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-17 14:16:38 +0800 |
commit | b56467df1951ed5f43f1b8fc989ef271bdd80ada (patch) | |
tree | fb8d1f9863f6c7bcf1ea25d94a02637aa348d7a1 /Makefile | |
parent | Remove unnecessary scripts (diff) | |
download | forge-b56467df1951ed5f43f1b8fc989ef271bdd80ada.tar.gz forge-b56467df1951ed5f43f1b8fc989ef271bdd80ada.tar.zst forge-b56467df1951ed5f43f1b8fc989ef271bdd80ada.zip |
More build system updates
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -11,11 +11,9 @@ CFLAGS = -Wall -Wextra -pedantic -std=c99 -D_GNU_SOURCE -SOURCE_FILES = $(shell git ls-files) - all: dist/forged dist/git2d dist/hookc -dist/forged: $(SOURCE_FILES) +dist/forged: $(shell git ls-files forged) mkdir -p dist CGO_ENABLED=0 go build -o dist/forged -ldflags '-extldflags "-f no-PIC -static"' -tags 'osusergo netgo static_build' ./forged |