From: Ralph Ronnquist Date: Thu, 29 Sep 2022 05:53:46 +0000 (+1000) Subject: build static binary X-Git-Tag: 1.5.3~2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=16be35c2186cfcecdfb3bcb9faa56ec0f61f144c;p=rrq%2Frrqnet.git build static binary --- 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)