Makefile angepasst
This commit is contained in:
parent
e7e1634240
commit
847645b3cc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -16,7 +16,7 @@ robocup.elf: $(FILES:%=%.o)
|
||||||
@avr-g++ -MM -mmcu=atmega32 -Os -MF $@ -MT $(patsubst %.cpp,%.o,$<) -MT $@ $<
|
@avr-g++ -MM -mmcu=atmega32 -Os -MF $@ -MT $(patsubst %.cpp,%.o,$<) -MT $@ $<
|
||||||
|
|
||||||
program: robocup.hex
|
program: robocup.hex
|
||||||
sudo avrdude -P usb -c avrisp2 -p m32 -U $<
|
sudo avrdude -P usb -c avrisp2 -p m32 -U flash:w:$<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f robocup.hex robocup.elf $(FILES:%=%.o) $(FILES:%=%.d)
|
rm -f robocup.hex robocup.elf $(FILES:%=%.o) $(FILES:%=%.d)
|
||||||
|
|
Reference in a new issue