diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-05-27 15:02:33 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-05-27 15:02:33 +0200 |
commit | d8092ae891d96da4bf6daac37a6588150e6a724e (patch) | |
tree | 5cc99b5026b2b02a1fa266cecee5ea6a55fd3621 /Makefile | |
parent | 0ec0f3f1918607dfe77dd8adbc0a319cc4fad0b9 (diff) | |
download | hourglass-d8092ae891d96da4bf6daac37a6588150e6a724e.tar.gz hourglass-d8092ae891d96da4bf6daac37a6588150e6a724e.tar.bz2 hourglass-d8092ae891d96da4bf6daac37a6588150e6a724e.zip |
pwm: Initial LED PWM
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,9 +1,10 @@ MCU = atmega88 +CFLAGS=-Os all: sanduhr.hex -sanduhr.elf: main.c i2c.c i2c.h uart.c uart.h timer.c timer.h gyro.c gyro.h accel.c accel.h common.h speaker.c speaker.h - avr-gcc -std=gnu99 -mmcu=$(MCU) -Os -o $@ $^ +sanduhr.elf: main.c i2c.c i2c.h uart.c uart.h timer.c timer.h gyro.c gyro.h accel.c accel.h common.h speaker.c speaker.h pwm.c pwm.h + avr-gcc -std=gnu99 -mmcu=$(MCU) $(CFLAGS) -o $@ $^ sanduhr.hex: sanduhr.elf avr-objcopy -O ihex -R .eeprom $< $@ |