Rev 183 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 183 | Rev 223 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | PRG = main |
1 | PRG = main |
| 2 | OBJ = main.o |
2 | OBJ = main.o |
| 3 | MCU_TARGET = atmega8 |
3 | MCU_TARGET = atmega8 |
| 4 | OPTIMIZE = -Os -mcall-prologues |
4 | OPTIMIZE = -Os -mcall-prologues |
| 5 | 5 | ||
| 6 | DEFS = -I |
6 | DEFS = -I../AVR-Bios |
| 7 | LIBS = |
7 | LIBS = |
| 8 | 8 | ||
| 9 | # You should not have to change anything below here. |
9 | # You should not have to change anything below here. |
| 10 | 10 | ||
| 11 | CC = avr-gcc |
11 | CC = avr-gcc |
| 12 | 12 | ||
| 13 | # Override is only needed by avr-lib build system. |
13 | # Override is only needed by avr-lib build system. |
| 14 | 14 | ||
| 15 | override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) |
15 | override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) |
| 16 | #override LDFLAGS = -Wl,-Map,$(PRG).map,--section-start=.bios_interface=$(BIOS_INTERFACE_START),-Tdata=$(BIOS_INTERFACE_END),--cref,-nostdlib,-L/home/andreas/Develop/AVR/avr-bios,-Ttarget.ld |
- | |
| 17 | override LDFLAGS = -Wl,-Map,$(PRG).map,-L |
16 | override LDFLAGS = -Wl,-Map,$(PRG).map,-L../AVR-Bios,-T$(MCU_TARGET)_app.ld |
| 18 | 17 | ||
| 19 | OBJCOPY = avr-objcopy |
18 | OBJCOPY = avr-objcopy |
| 20 | OBJDUMP = avr-objdump |
19 | OBJDUMP = avr-objdump |
| 21 | SIZE = avr-size |
20 | SIZE = avr-size |
| 22 | SZFLAGS = |
21 | SZFLAGS = |