FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/pcm/Makefile @ 664:d36f647c2432
gsm-fw/comlib: initial import of TI's source
cl_des.c and cl_imei.c are from the Leonardo semi-src; others are from LoCosto
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 28 Sep 2014 05:09:53 +0000 |
parents | b039cafc8e31 |
children |
rev | line source |
---|---|
640
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 LD= arm-elf-ld |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
641
e60f51f747f5
PCM integration: pcmdata.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
640
diff
changeset
|
5 OBJS= pcmcode.o pcmdata.o |
640
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 HDRS= pcm.h |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
642
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
641
diff
changeset
|
9 all: xipcode.o |
640
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${OBJS}: ${HDRS} |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
642
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
641
diff
changeset
|
13 xipcode.o: ${OBJS} |
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
641
diff
changeset
|
14 ${LD} -r -o $@ ${OBJS} |
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
641
diff
changeset
|
15 |
640
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 clean: |
aed920085e59
PCM integration: pcmcode.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 rm -f *.[oa] *errs |