Static build opt (#49)

* static build option

* make install static condition

* fix error
This commit is contained in:
Levi Neely 2024-08-20 01:21:55 +02:00 committed by GitHub
parent ef66640919
commit ccbfc3e7b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)