summaryrefslogtreecommitdiffstats
path: root/app/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'app/Makefile')
-rw-r--r--app/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Makefile b/app/Makefile
index 224f182..fddc03b 100644
--- a/app/Makefile
+++ b/app/Makefile
@@ -21,15 +21,17 @@
CPROTO=cproto
PROG=clockv2
+
LDSCRIPT = ${PROG}.ld
V=1
default: ${PROG}.elf
+
CSRCS=led.c ticker.c ring.c usart.c stdio.c lwip_glue.c steth.c msf.c abs.c \
pll.c main.c time_fn.c ntp.c dcf77.c util.c stats.c gps.c hexdump.c bits.c \
max7219.c report.c sysclk.c cdcacm.c usb.c dfu.c adc.c dummy_kb.c ref.c \
- ptp.c display.c httpd.c alarm.c
+ ptp.c display.c httpd.c alarm.c meteotime.c
HSRCS= events.h gps.h project.h ring.h steth.h time_fn.h ubx.h
@@ -162,7 +164,7 @@ almanac:
wget -O almanac.alp http://alp.u-blox.com/current_7d.alp
-EXTRA_CLEAN=${OBJS} ${LWIP_OBJS:%.o=%.d} almanac.c
+EXTRA_CLEAN=${OBJS} ${LWIP_OBJS:%.o=%.d} almanac.c *.orig
tidy:
astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd ${CSRCS} ${HSRCS}