diff gsm-fw/bsp/rtc/Makefile @ 160:dbfc9ff4e8d2

gsm-fw: starting to compile RTC code
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 22:52:52 +0000
parents
children 98be4841eeb7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/bsp/rtc/Makefile	Sun Nov 17 22:52:52 2013 +0000
@@ -0,0 +1,18 @@
+CC=	arm-elf-gcc
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+LD=	arm-elf-ld
+
+OBJS=	rtc_env.o
+
+HDRS=	rtc_api.h rtc_config.h rtc_env.h rtc_i.h rtc_messages_i.h \
+	rtc_pool_size.h
+
+all:	xipcode.o
+
+${OBJS}:	${HDRS}
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
+
+clean:
+	rm -f *.[oa] *errs