FreeCalypso > hg > freecalypso-citrine
comparison nucleus/Makefile @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
1 CC= arm-elf-gcc | |
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork | |
3 ASFLAGS=-mthumb-interwork | |
4 AR= arm-elf-ar | |
5 RANLIB= arm-elf-ranlib | |
6 | |
7 IOBJS= csc.o erc.o pmc.o pmce.o pmd.o smc.o smce.o smd.o tcc.o tcce.o tcd.o \ | |
8 tct.o tmc.o tmd.o tms.o tmse.o tmt.o | |
9 | |
10 XTOBJS= dmc.o dmce.o dmd.o dmf.o dmi.o dms.o erd.o eri.o evc.o evce.o evd.o \ | |
11 evf.o evi.o hic.o hid.o hii.o inc.o ioc.o ioce.o iod.o iof.o ioi.o \ | |
12 lic.o lid.o mbc.o mbce.o mbd.o mbf.o mbi.o mbs.o mbse.o pic.o pice.o \ | |
13 pid.o pif.o pii.o pis.o pise.o pmf.o pmi.o quc.o quce.o qud.o quf.o \ | |
14 qui.o qus.o quse.o rlc.o rld.o smf.o smi.o sms.o smse.o tcf.o tcfe.o \ | |
15 tci.o tcs.o tcse.o tmf.o tmi.o | |
16 | |
17 XOBJS= ${XTOBJS} init.o | |
18 AOBJS= ${IOBJS} init.o | |
19 | |
20 HDRS= asm_defs.h cs_defs.h cs_extr.h dm_defs.h dm_extr.h er_defs.h er_extr.h \ | |
21 ev_defs.h ev_extr.h hi_defs.h hi_extr.h in_defs.h in_extr.h io_defs.h \ | |
22 io_extr.h mb_defs.h mb_extr.h nu_sd.h nucleus.h pi_defs.h pi_extr.h \ | |
23 pm_defs.h pm_extr.h profiler.h qu_defs.h qu_extr.h sm_defs.h sm_extr.h \ | |
24 tc_defs.h tc_extr.h tm_defs.h tm_extr.h | |
25 | |
26 all: libplus.iram.a libplus.xip.a | |
27 | |
28 ${AOBJS}: ${HDRS} | |
29 | |
30 ${XTOBJS}: %.o : %.c ${HDRS} | |
31 ${CC} ${CFLAGS} -mthumb -c $< | |
32 | |
33 libplus.iram.a: ${IOBJS} | |
34 ${AR} cru $@ ${IOBJS} | |
35 ${RANLIB} $@ | |
36 | |
37 libplus.xip.a: ${XOBJS} | |
38 ${AR} cru $@ ${XOBJS} | |
39 ${RANLIB} $@ | |
40 | |
41 clean: | |
42 rm -f *.[oa] *errs |