FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/pcm/Makefile @ 642:b039cafc8e31
PCM integration: linking
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 03 Sep 2014 17:42:09 +0000 |
parents | e60f51f747f5 |
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 |