From 75aa2df2c319a43186c6853dce551d63b3425bdf Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 22 Sep 2012 23:31:08 +0200 Subject: tick: optional SP debugging --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c082c6f..1f3dcc7 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ CFLAGS_OPT=-Os \ -fwhole-program CFLAGS_WARN=-std=gnu99 -Wall -Wextra -Wno-unused -pedantic CFLAGS_LD=-Wl,-T,avr4-signature.x -CFLAGS=${CFLAGS_WARN} ${CFLAGS_OPT} ${CFLAGS_LD} +CFLAGS_=${CFLAGS_WARN} ${CFLAGS_OPT} ${CFLAGS_LD} ${CFLAGS} MCU_door=48 MCU_lightctrl=88 AVRDUDE=avrdude @@ -32,4 +32,4 @@ endif %.flash: %.elf Makefile avr-objcopy -j .text -j .data -O ihex $< $@ %.elf: %.c *.c *.x Makefile - avr-gcc -mmcu=atmega$(MCU_$(basename $@)) ${CFLAGS} -o $@ $< + avr-gcc -mmcu=atmega$(MCU_$(basename $@)) ${CFLAGS_} -o $@ $< -- cgit v1.2.1