From ccbfc3e7b713c0368f1b4ce611ba8937ca7bfeb2 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 20 Aug 2024 01:21:55 +0200 Subject: [PATCH] Static build opt (#49) * static build option * make install static condition * fix error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2c242f..9ad327e 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CMDSRC=control_tools.cpp pclsync_lib_c.cpp pclsync_lib.cpp main.cpp DESTDIR=/usr/local LIBSRC=$(wildcard pclsync/*.c) LIBOBJ = $(notdir $(LIBSRC:%.c=%.o)) -STATIC=$STATIC +STATIC=0 all: $(LIBSRC) $(CMDSRC) ifeq ($(STATIC),1)