FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/cfile/Makefile @ 567:528fa901ae79
L1: l1_pwmgr.c compiles with stripped-down version of l1_pwmgr.h
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 08 Aug 2014 07:35:35 +0000 |
parents | 065bf2b63a95 |
children | ae24e49c41a9 |
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 \ |
557
3bb11261b9fe
L1: started work on l1_func.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
555
diff
changeset
|
3 -I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \ |
3bb11261b9fe
L1: started work on l1_func.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
555
diff
changeset
|
4 -DMOVE_IN_INTERNAL_RAM |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 LD= arm-elf-ld |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
7 INTSED= ../intram.sed |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
565
335f9b00f8fc
L1: l1_mfmgr.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
563
diff
changeset
|
9 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ |
335f9b00f8fc
L1: l1_mfmgr.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
563
diff
changeset
|
10 l1_mfmgr.o |
567
528fa901ae79
L1: l1_pwmgr.c compiles with stripped-down version of l1_pwmgr.h
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
566
diff
changeset
|
11 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
547
32f7494783db
L1: l1_api_hisr.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
546
diff
changeset
|
13 all: ${IOBJS} ${XOBJS} |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 ${XOBJS}: %.o : %.c |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
18 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
|
19 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
|
20 |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 clean: |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
22 rm -f *.[oa] l1_*_intram.c *.out *errs |