From 16be35c2186cfcecdfb3bcb9faa56ec0f61f144c Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Thu, 29 Sep 2022 15:53:46 +1000 Subject: [PATCH] build static binary --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 946dbbc..5dbeb17 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ rrqnet.E: rrqnet.c htable.c COMPILEOPTS = -g -W -Wall #COMPILEOPTS = -pg -no-pie -g -DGPROF -#STATIC = -static +STATIC = -static $(filter-out %.sh,$(SBINCFILES)): %: %.c $(CC) $(COMPILEOPTS) $(STATIC) -o $@ $^ $(LDFLAGS) -- 2.39.2