diff --git a/src/Makefile b/src/Makefile
index 62906db16f1406a33e2f8d341939a0b2a14088a6..7b1c7491dc16abe0bbdb6e18de97f86af0a6b8a5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -138,14 +138,14 @@ LIB_MASTER=$(OBJDIR_MASTER)/$(LIB_OBJS_ROOT)-MASTER.a
 #
 # USER
 #
-#ifdef DO_COMP_USER
+ifdef OBJDIR_USER
 OBJS_LISTE_USER :=  $(OBJS_LISTE_USER) $(notdir $(shell find $(OBJDIR_USER) -follow -type f -name "spll_*.f*" | sed -e 's/\(.*\)\(\.\).*/\1.o/g' )) 
 #OBJS_LISTE_USER :=  $(OBJS_LISTE_USER) $(obj_flist $(OBJDIR_USER)) 
 #
 OBJS_LISTE_USER := $(sort $(filter-out $(IGNORE_OBJS), $(OBJS_LISTE_USER) $(OBJS_LISTE_MASTER) )) 
 #
 LIB_USER=$(OBJDIR_USER)/$(LIB_OBJS_ROOT)-$(VER_USER).a
-#endif
+endif
 ##########################################################
 #                                                        #
 # DEP_ALL : All dependance *.D to generate               #