Generate defines from files paths.