FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/cfile/Makefile @ 551:2e662daa7441
L1: l1_cmplx.c compiles for IRAM
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 03 Aug 2014 18:32:58 +0000 |
parents | 6455c06fceb3 |
children | 81cef37b96f9 |
rev | line source |
---|---|
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ |
549
b1e2dbb3c751
L1: l1_async.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
547
diff
changeset
|
3 -I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 LD= arm-elf-ld |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
6 INTSED= ../intram.sed |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
8 IOBJS= l1_api_hisr.o l1_cmplx_intram.o |
550
6455c06fceb3
L1: l1_cmplx.c compiles for XRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
549
diff
changeset
|
9 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
547
32f7494783db
L1: l1_api_hisr.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
546
diff
changeset
|
11 all: ${IOBJS} ${XOBJS} |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${XOBJS}: %.o : %.c |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
16 l1_cmplx_intram.c: l1_cmplx.c ${INTSED} |
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
17 sed -n -f ${INTSED} l1_cmplx.c > $@ |
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
18 |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 clean: |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
20 rm -f *.[oa] l1_*_intram.c *.out *errs |