diff --git a/cpu/atmega8/Makefile b/cpu/atmega8/Makefile index 7c3b6fe..84cb60b 100755 --- a/cpu/atmega8/Makefile +++ b/cpu/atmega8/Makefile @@ -1,3 +1,3 @@ -SUBS+=avr/core cpu/timer/m8timer2 +DEPENDS=../../core ../../timer/m8timer2 diff --git a/cpu/atmega8/global.make b/cpu/atmega8/global.make index 4bbb91c..c8ed65e 100755 --- a/cpu/atmega8/global.make +++ b/cpu/atmega8/global.make @@ -2,4 +2,4 @@ COMPILER_PREFIX=avr- CFLAGS+=-ggdb -mmcu=atmega8 -Wall -Os -D__SIMPLE_ADC__ -D__DISABLE_ASSERTIONS__ ASFLAGS+=-ggdb -mmcu=atmega8 LDFLAGS+=-ggdb -mmcu=atmega8 -Os - +AVR_MCU=atmega8 diff --git a/timer/m8timer2/Makefile b/timer/m8timer2/Makefile index d241ee0..8b13789 100755 --- a/timer/m8timer2/Makefile +++ b/timer/m8timer2/Makefile @@ -1,2 +1 @@ -SUBS+=