diff --git a/makefile b/makefile index 1d1ac6e..0a70b12 100644 --- a/makefile +++ b/makefile @@ -10,13 +10,15 @@ endif CFLAGS=-O3 -std=c++11 -ifeq ($(uname_S),Linux) - CFLAGS+=-fabi-version=6 - CFLAGS+=-static -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -endif - -ifeq ($(uname_S),Darwin) - CFLAGS+= -lc -static-libgcc +ifeq ($(STATIC_LINK),true) + ifeq ($(uname_S),Linux) + CFLAGS+=-fabi-version=6 + CFLAGS+=-static -Wl,--whole-archive -lpthread -Wl,--no-whole-archive + endif + + ifeq ($(uname_S),Darwin) + CFLAGS+= -lc -static-libgcc + endif endif diff --git a/utils/matcher b/utils/matcher new file mode 100644 index 0000000..aecccb6 Binary files /dev/null and b/utils/matcher differ diff --git a/utils/phist b/utils/phist new file mode 100644 index 0000000..da8f438 Binary files /dev/null and b/utils/phist differ