build static binary
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 29 Sep 2022 05:53:46 +0000 (15:53 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 29 Sep 2022 05:53:46 +0000 (15:53 +1000)
Makefile

index 946dbbc943da34211151c55203a758e31d48c8f7..5dbeb17e79a33b5b8ce6f0f9963744130b0de1bf 100644 (file)
--- 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)