Thank you Yugi, I deleted the cmdf files using the command you prescribed in your message but the problem is that when compiling Telemac2D with "clean telemac2d -dredgesim" and using --rescan option, I get the following error message :
"Updating your cmdf file for compilation without scan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compileTELEMAC::main:: Could not find any cmdf file for config susgfortrans. You may have to use the --rescan option"
Then what I did is getting a backup version of the cmdf files and modified manually in the telemac2d.cmdf file the homere_telemac2d.f to homere_telemac2d.F. So now I have nothing to do for my homere_telemac2d.F to be taken into account in the compilation process, it works fine !
Thank you for your help