From b56467df1951ed5f43f1b8fc989ef271bdd80ada Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 17 Aug 2025 14:16:38 +0800 Subject: More build system updates --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4a049fa..e111660 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3