FreeCalypso > hg > freecalypso-sw
annotate 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 |
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 |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 OBJS= dar_api.o |
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 |