Updated to automatically create bin and obj dirs