comparison 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
comparison
equal deleted inserted replaced
306:81bee6125882 307:749ca89741fa
1 CC= arm-elf-gcc
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
3 LD= arm-elf-ld
4
5 OBJS= dar_api.o
6
7 HDRS= dar_api.h dar_const_i.h dar_diagnose_i.h dar_emergency.h dar_env.h \
8 dar_error_hdlr_i.h dar_gen.h dar_handle_message.h dar_macro_i.h \
9 dar_messages_i.h dar_msg_ft.h dar_pool_size.h dar_structs_i.h \
10 dar_watchdog.h
11
12 all: xipcode.o
13
14 ${OBJS}: ${HDRS}
15
16 xipcode.o: ${OBJS}
17 ${LD} -r -o $@ ${OBJS}
18
19 clean:
20 rm -f *.[oa] *errs