diff options
Diffstat (limited to 'app/Makefile')
-rw-r--r-- | app/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Makefile b/app/Makefile index 7fa09f4..f50e524 100644 --- a/app/Makefile +++ b/app/Makefile @@ -23,7 +23,7 @@ PROG=speedo V=1 default: ${PROG}.elf -CSRCS=main.c led.c i2c.c usart.c ring.c ticker.c oled.c i2c_hw.c font8x8.c font8x16.c tacho.c oled1.c oled2.c font21x32.c +CSRCS=main.c led.c i2c.c usart.c ring.c ticker.c oled.c i2c_hw.c font8x8.c font8x16.c tacho.c oled1.c oled2.c font21x32.c gauge.c HSRCS=i2c.h oled.h project.h ring.h @@ -60,5 +60,10 @@ protos: ${CSRCS} ${CPROTO} $(INCLUDES) $(DEFINES) -e -v ${CSRCS} > prototypes.h.tmp mv -f prototypes.h.tmp prototypes.h +tidy: +# indent -i2 -ts0 ${CSRCS} ${HSRCS} + astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd ${CSRCS} ${HSRCS} + + #${OBJCOPY} -I binary -O elf32-littlearm -B arm --rename-section .data=.rodata.almanac,alloc,load,readonly,data,contents $< $@ |