FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/pcm/Makefile @ 1030:194967e11b2b
fc-shell: tch record and tch play reworked for libgsm-compatible file format
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 31 May 2016 18:39:06 +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 |