Update `md` path in makefiles
Split code in files