aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 452e05e..1863525 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ MCU = atmega88
all: sanduhr.hex
-sanduhr.elf: main.c
- avr-gcc -std=gnu99 -mmcu=$(MCU) -Os -o $@ $<
+sanduhr.elf: main.c i2c.c i2c.h uart.c
+ avr-gcc -std=gnu99 -mmcu=$(MCU) -Os -o $@ $^
sanduhr.hex: sanduhr.elf
avr-objcopy -O ihex -R .eeprom $< $@