view gsm-fw/gpf/osl/Makefile @ 397:f5b9c6d63718

os_mem_fl.c: os_CreatePartitionPool() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 13 Jun 2014 19:44:27 +0000
parents 37e19cbbbc8d
children adfc04008d75
line wrap: on
line source

CC=	arm-elf-gcc
COPTS=	-O2 -fno-builtin -mthumb-interwork -I../inc
IOPTS=	-DRUN_INT_RAM
XOPTS=	-DRUN_FLASH -mthumb

IOBJS=	os_com_ir.o os_pro_ir.o
XOBJS=	os_com_fl.o os_drv.o os_isr.o os_mem_fl.o os_pro_fl.o

all:	${IOBJS} ${XOBJS}

${IOBJS}:	%.o : %.c
	${CC} ${COPTS} ${IOPTS} -c $<

${XOBJS}:	%.o : %.c
	${CC} ${COPTS} ${XOPTS} -c $<

clean:
	rm -f *.[oa] *errs