diff options
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index f3a8f8be..ff83602c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -26,8 +26,13 @@ LLVMCC := $(LLVMGCC) LLVMCXX := $(LLVMGXX) endif -LD.Flags += -L$(PROJ_SRC_ROOT)/stp/lib -CXX.Flags += -I$(PROJ_SRC_ROOT)/stp/include +ifeq ($(ENABLE_EXT_STP),1) + LD.Flags += -L$(STP_ROOT)/lib + CXX.Flags += -I$(STP_ROOT)/include +else + LD.Flags += -L$(PROJ_SRC_ROOT)/stp/lib + CXX.Flags += -I$(PROJ_SRC_ROOT)/stp/include +endif CXX.Flags += -DKLEE_DIR=\"$(PROJ_OBJ_ROOT)\" # For STP. |