Das Code wurde jetzt compaliert. Mein Fehler war das ich PortB anstatt PORTB geschrieben hatte.

Meine neue Code schaut jetzt sp aus

Code:
#include "avr/io.h"
#include "avrlab.h"



int main(void)
{
  avrlab_init();
  
  //your code goes here 

	PORTB &= ~(1<<PB3);
    PORTB |= (1<<PB5) ;
    DDRB &= ~(1<<PB5) ;
	DDRB |=  (1<< PB3);




  while (1)
    {
		if (!( PINB  & (1<<PINB5) ))
        	PORTB = PINB ^ (1<<PB3);
      	else
        	PORTB &= ~(1<<PB3);

	  //or here


      avrlab_poll(); 

                     //must be called at least every 40 ms
                     //muss mindestens alle 40 ms aufgerufen werden  
	}
}
Jetzt ist es so, das wenn ich es resete das Led auch aus ist.
Aber wenn ich einmal die Taste betätigt habe geht die Led an, aber nicht mehr ganz aus. Wenn ich die Taste nochmal betätige leuchtet es heller.