FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/dar/Makefile @ 555:44d30f013ee5
L1: l1_drive.c almost compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 04 Aug 2014 05:43:16 +0000 |
parents | a7087f91c752 |
children |
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 |
309
a7087f91c752
DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
308
diff
changeset
|
5 OBJS= dar_api.o dar_diagnose.o dar_emergency.o dar_env.o dar_error_hdlr.o \ |
a7087f91c752
DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
308
diff
changeset
|
6 dar_gbl_var.o dar_handle_message.o dar_msg_ft.o dar_task.o \ |
a7087f91c752
DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
308
diff
changeset
|
7 dar_watchdog.o |
307
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 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
|
10 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
|
11 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
|
12 dar_watchdog.h |
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 all: xipcode.o |
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 ${OBJS}: ${HDRS} |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 xipcode.o: ${OBJS} |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 ${LD} -r -o $@ ${OBJS} |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 clean: |
749ca89741fa
DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 rm -f *.[oa] *errs |