 The Germans had planned an attack on Gibraltar, codenamed Operation Felix, which was never initiated.It included the potential invasion of Portugal if the British gained a foothold and considered the occupation of Madeira and of the Azores.On 12 November 1940 Hitler issued Führer Directive No.