Static build opt (#49)
* static build option * make install static condition * fix error
This commit is contained in:
parent
ef66640919
commit
ccbfc3e7b7
2
Makefile
2
Makefile
|
|
@ -4,7 +4,7 @@ CMDSRC=control_tools.cpp pclsync_lib_c.cpp pclsync_lib.cpp main.cpp
|
||||||
DESTDIR=/usr/local
|
DESTDIR=/usr/local
|
||||||
LIBSRC=$(wildcard pclsync/*.c)
|
LIBSRC=$(wildcard pclsync/*.c)
|
||||||
LIBOBJ = $(notdir $(LIBSRC:%.c=%.o))
|
LIBOBJ = $(notdir $(LIBSRC:%.c=%.o))
|
||||||
STATIC=$STATIC
|
STATIC=0
|
||||||
|
|
||||||
all: $(LIBSRC) $(CMDSRC)
|
all: $(LIBSRC) $(CMDSRC)
|
||||||
ifeq ($(STATIC),1)
|
ifeq ($(STATIC),1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue