aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-02-13 16:45:48 +0100
committerLars-Dominik Braun <lars@6xq.net>2014-02-13 16:45:48 +0100
commit9a5753f23fb7d55a7a72c8cf9846cc72349c65de (patch)
tree81ffaf7f1f5673880fa17546cc8ff3dae08345b9 /Makefile
parentab0e37395d2390727248361f00f37109fd6bde9c (diff)
downloadhourglass-9a5753f23fb7d55a7a72c8cf9846cc72349c65de.tar.gz
hourglass-9a5753f23fb7d55a7a72c8cf9846cc72349c65de.tar.bz2
hourglass-9a5753f23fb7d55a7a72c8cf9846cc72349c65de.zip
Split up main.c
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 $< $@