aboutsummaryrefslogtreecommitdiff
path: root/avr-ioe.mk
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-10-11 23:21:07 +0200
committerKarel Kočí <cynerd@email.cz>2015-10-11 23:21:07 +0200
commit8fa9db4244f4ee33aa47561c569edfa62fe37928 (patch)
tree96bdc3dd01af3f435facf4aaceb8442b01f657d7 /avr-ioe.mk
parent62c4883af719f5bacd197257387a0071c625e469 (diff)
downloadavr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.tar.gz
avr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.tar.bz2
avr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.zip
Fixes in USART and changes in ave-ioe.mk
Diffstat (limited to 'avr-ioe.mk')
-rw-r--r--avr-ioe.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/avr-ioe.mk b/avr-ioe.mk
index 1248f11..34967a5 100644
--- a/avr-ioe.mk
+++ b/avr-ioe.mk
@@ -29,8 +29,8 @@ endif
ifndef MMCU
$(error Pleade define MMCU variable in makefile before including avr-ioe.mk)
endif
-IOE_CFLAGS ?= -Os -ffunction-sections -fdata-sections -fshort-enums -Wall
-IOE_CFLAGS += -DF_CPU=$(F_CPU) -mmcu=$(MMCU)
+IOE_CFLAGS ?= -Os -ffunction-sections -fdata-sections -fshort-enums -Wall \
+ -DF_CPU=$(F_CPU) -mmcu=$(MMCU)
IOE_GCC ?= avr-gcc
$(IOE_OBJ): %.o: %.c
@@ -40,7 +40,7 @@ $(IOE_DEP): %.d: %.c
$(IOE_GCC) -MM -MG -MT '$*.o $@' $(IOE_CFLAGS) -c -o $@ $<
.PHONY: ioeclean
-ioeclean:
+ioeclean::
$(RM) $(IOE_OBJ)
$(RM) $(IOE_DEP)