annotate gsm-fw/services/dar/Makefile @ 308:3c5a17928fda

DAR: starting to clean and compile .c files
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Mar 2014 20:46:10 +0000
parents 749ca89741fa
children a7087f91c752
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
307
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 LD= arm-elf-ld
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
308
3c5a17928fda DAR: starting to clean and compile .c files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 307
diff changeset
5 OBJS= dar_api.o dar_diagnose.o dar_emergency.o
307
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 HDRS= dar_api.h dar_const_i.h dar_diagnose_i.h dar_emergency.h dar_env.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 dar_error_hdlr_i.h dar_gen.h dar_handle_message.h dar_macro_i.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 dar_messages_i.h dar_msg_ft.h dar_pool_size.h dar_structs_i.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 dar_watchdog.h
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 all: xipcode.o
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 ${OBJS}: ${HDRS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 xipcode.o: ${OBJS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 ${LD} -r -o $@ ${OBJS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 clean:
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 rm -f *.[oa] *errs