view gsm-fw/gpf/osl/Makefile @ 349:a163da322bc5

OSL: os_com_fl.c started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 08 May 2014 05:47:38 +0000
parents fdeea3d6582d
children 03d034db09fa
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_pro_ir.o
XOBJS=	os_com_fl.o os_isr.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