  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
 
 WC_OBJS := word_count.o sort.o
 WC_OBJS_PTHREAD := word_count-pthread.o sort-pthread.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
 
 HIST_OBJS = histogram.o
 HIST_SEQ_OBJS = histogram-seq.o
