diff gsm-fw/services/dar/Makefile @ 307:749ca89741fa

DAR: starting to compile
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Mar 2014 07:39:29 +0000
parents
children 3c5a17928fda
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/services/dar/Makefile	Sun Mar 16 07:39:29 2014 +0000
@@ -0,0 +1,20 @@
+CC=	arm-elf-gcc
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+LD=	arm-elf-ld
+
+OBJS=	dar_api.o
+
+HDRS=	dar_api.h dar_const_i.h dar_diagnose_i.h dar_emergency.h dar_env.h \
+	dar_error_hdlr_i.h dar_gen.h dar_handle_message.h dar_macro_i.h \
+	dar_messages_i.h dar_msg_ft.h dar_pool_size.h dar_structs_i.h \
+	dar_watchdog.h
+
+all:	xipcode.o
+
+${OBJS}:	${HDRS}
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
+
+clean:
+	rm -f *.[oa] *errs