  include $(HOME)/Defines.mk
  
 -LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX)
-+LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX) -L/home/heming/rcs/smt+mc//xtern//dync_hook -Wl,--rpath,/home/heming/rcs/smt+mc//xtern//dync_hook -lxtern-annot
++LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX) -L$(XTERN_ROOT)/dync_hook -Wl,--rpath,$(XTERN_ROOT)/dync_hook -lxtern-annot
  
  MM_OBJS = matrix_multiply.o
  MM_SEQ_OBJS = matrix_multiply-seq.o

 include $(HOME)/Defines.mk
 
-LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX)
+LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX) -L/home/heming/rcs/smt+mc//xtern//dync_hook -Wl,--rpath,/home/heming/rcs/smt+mc//xtern//dync_hook -lxtern-annot
 
 L_REG_OBJS = linear_regression.o
 L_REG_SEQ_OBJS = linear_regression-seq.o

 include $(HOME)/Defines.mk
 
-LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX)
+LIBS += -L$(HOME)/$(LIB_DIR) -l$(PHOENIX) -L$(XTERN_ROOT)/dync_hook -Wl,--rpath,$(XTERN_ROOT)/dync_hook -lxtern-annot
 
 STR_MATCH_OBJS = string_match.o
 STR_MATCH_SEQ_OBJS = string_match-seq.o
