comparison gpf/osl/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 COPTS= -O2 -fno-builtin -mthumb-interwork -I../inc
3 IOPTS= -DRUN_INT_RAM
4 XOPTS= -DRUN_FLASH -mthumb
5
6 IOBJS= os_com_ir.o os_mem_ir.o os_mis_ir.o os_pro_ir.o \
7 os_sem_ir.o os_tim_ir.o
8 XOBJS= os_com_fl.o os_drv.o os_isr.o os_mem_fl.o os_mis_fl.o os_pro_fl.o \
9 os_sem_fl.o os_tim_fl.o
10
11 all: ${IOBJS} ${XOBJS}
12
13 ${IOBJS}: %.o : %.c
14 ${CC} ${COPTS} ${IOPTS} -c $<
15
16 ${XOBJS}: %.o : %.c
17 ${CC} ${COPTS} ${XOPTS} -c $<
18
19 clean:
20 rm -f *.[oa] *errs